Class: WebConsole::JRuby::FakeJRubyBinding
- Inherits:
-
Object
- Object
- WebConsole::JRuby::FakeJRubyBinding
- Defined in:
- lib/web_console/integration/jruby.rb
Overview
A fake binding for JRuby in non interpreted mode.
It won’t actually evaluate any code, rather it will tell the user how to enable interpreted mode.
Constant Summary collapse
- TURN_ON_INTERPRETED_MODE_TEXT =
" JRuby needs to run in interpreted mode for introspection support.\n\n To turn on interpreted mode, put -J-Djruby.compile.mode=OFF in the\n JRUBY_OPTS environment variable.\n".strip_heredoc
Instance Method Summary collapse
Instance Method Details
#eval ⇒ Object
58 59 60 |
# File 'lib/web_console/integration/jruby.rb', line 58 def eval(*) TURN_ON_INTERPRETED_MODE_TEXT end |