Module: Rhino

Defined in:
lib/rhino.rb,
lib/rhino/java.rb,
lib/rhino/context.rb,
lib/rhino/wormhole.rb,
lib/rhino/ruby_object.rb,
lib/rhino/native_object.rb

Defined Under Namespace

Modules: J, To Classes: Context, ContextFactory, Function, NativeObject, RhinoError, RubyObject, RunawayScriptError

Constant Summary collapse

VERSION =
'1.72.3'

Instance Method Summary collapse

Instance Method Details

#function(&impl) ⇒ Object



2
3
4
# File 'lib/rhino/context.rb', line 2

def function(&impl)
  Function.new &impl
end