Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Victors-MacBook-Air:logstash-zeromq victorng$ irb
- jruby-1.6.4 :001 > x = 'json'
- => "json"
- jruby-1.6.4 :002 > require x
- => true
- jruby-1.6.4 :003 > cls = Class.by_name('JSON')
- NoMethodError: undefined method `by_name' for Class:Class
- from (irb):3:in `evaluate'
- from org/jruby/RubyKernel.java:1093:in `eval'
- from org/jruby/RubyKernel.java:1419:in `loop'
- from org/jruby/RubyKernel.java:1205:in `catch'
- from org/jruby/RubyKernel.java:1205:in `catch'
- from /Users/victorng/.rvm/rubies/jruby-1.6.4/bin/irb:17:in `(root)'
- jruby-1.6.4 :004 > JSON
- => JSON
- jruby-1.6.4 :005 >
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement