Method: MetaInstance::Proxy#method

Defined in:
lib/meta_instance/proxy.rb

#method(name) ⇒ Object

Get method. Usage of this might seem strange because Ruby’s own ‘instance_method` method is a misnomer. It should be something like `definition` or `method_definition`. In Ruby the acutal “instance” method is accessed via the unadorned `method` method.

Returns [Method].



204
205
206
# File 'lib/meta_instance/proxy.rb', line 204

def method(name)
  bind_call(:method, name)
end