--- !ruby/object:RI::MethodDescription
aliases: []
block_params:
comment:
- !ruby/struct:SM::Flow::P
body: Returns a Binding object, describing the variable and method bindings at the point of call. This object can be used when calling eval to execute the evaluated command in this environment. Also see the description of class Binding.
- !ruby/struct:SM::Flow::VERB
body: " def getBinding(param)\n return binding\n end\n b = getBinding("hello")\n eval("param", b) #=> "hello"\n"
full_name: Kernel#binding
is_singleton: false
name: binding
params: |
binding -> a_binding
visibility: public