3 ms·
trying it now, few interesting facts, goto the web inspector console, make sure the page_context = rb * Ruby 2.0.0 > RUBY_VERSION "2.0.0" Yay * automated s
by senthilnayagam 14y ago
trying it now, few interesting facts,
goto the web inspector console, make sure the page_context = rb
* Ruby 2.0.0
> RUBY_VERSION
"2.0.0"
Yay
* automated string conversion does not happen, you would need to do it your self
>Time.now
Time {}
>Time.now.to_s
"2013-04-08 19:47:14 -00700"
* top most object is not Kernel
>Time.ancestors
[Time, Module, Object, Kernel, BasicObject]
curious to know what standard libraries are included, hope will update the post with new findings soon
- senthilnayagam 14y ago* ObjectSpace.methods does not work, so no global introspection. * eval works >eval("2+3") 5 * able to extend objects * browser specific classes Window(possibly a singleton), EventTarget, Console , BarInfo * if you open multiple windows, it acts like a seperate irb instance, though console history is available
- senthilnayagam 14y agofound a bug which crashes the app everytime, submitted a ticket https://github.com/timahoney/decaf/issues/5 https://github.com/timahoney/decaf/issues/5