Ability to enable full ObjectSpace support from within ruby scripts needed
--------------------------------------------------------------------------
Key: JRUBY-2240
URL: http://jira.codehaus.org/browse/JRUBY-2240
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Affects Versions: JRuby 1.1RC2
Environment: JRuby 1.1RC2
Reporter: Vladimir Sizikov
Assignee: Vladimir Sizikov
Fix For: JRuby 1.1
It would be nice to add an ability to turn ObjectSpace on/off from within ruby
scripts, so that those scripts that know that they need full object-space
support, would manually do that.
That way, jirb.rb can enable object space to have fully-functional
code-completion (See JRUBY-2186).
We could also add a JRuby specific portion to rubyspecs to enable ObjectSpace
in order to pass that test, otherwise it's always excluded.
The API is simple: require 'jruby'; JRuby.objectspace=true
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email