????JFIF??x?x????'
| Server IP : 172.67.174.47 / Your IP : 216.73.216.87 Web Server : LiteSpeed System : Linux premium151.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 User : tempvsty ( 647) PHP Version : 8.0.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /././proc/self/root/proc/self/root/opt/alt/ruby18/share/ri/1.8/system/Module/ |
Upload File : |
--- !ruby/object:RI::MethodDescription
aliases: []
block_params:
comment:
- !ruby/struct:SM::Flow::P
body: Returns an <tt>UnboundMethod</tt> representing the given instance method in <em>mod</em>.
- !ruby/struct:SM::Flow::VERB
body: " class Interpreter\n def do_a() print "there, "; end\n def do_d() print "Hello "; end\n def do_e() print "!\\n"; end\n def do_v() print "Dave"; end\n Dispatcher = {\n ?a => instance_method(:do_a),\n ?d => instance_method(:do_d),\n ?e => instance_method(:do_e),\n ?v => instance_method(:do_v)\n }\n def interpret(string)\n string.each_byte {|b| Dispatcher[b].bind(self).call }\n end\n end\n\n interpreter = Interpreter.new\n interpreter.interpret('dave')\n"
- !ruby/struct:SM::Flow::P
body: <em>produces:</em>
- !ruby/struct:SM::Flow::VERB
body: " Hello there, Dave!\n"
full_name: Module#instance_method
is_singleton: false
name: instance_method
params: |
mod.instance_method(symbol) => unbound_method
visibility: public