D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
Kernel
/
Filename :
binding-i.yaml
back
Copy
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a <tt>Binding</tt> object, describing the variable and method bindings at the point of call. This object can be used when calling <tt>eval</tt> to execute the evaluated command in this environment. Also see the description of class <tt>Binding</tt>. - !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