In Files

  • mrbgems/mruby-method/mrblib/method.rb

Method

Public Instance Methods

name() click to toggle source
 
               # File mrbgems/mruby-method/mrblib/method.rb, line 17
def name
  @name
end
            
owner() click to toggle source
 
               # File mrbgems/mruby-method/mrblib/method.rb, line 9
def owner
  @owner
end
            
receiver() click to toggle source
 
               # File mrbgems/mruby-method/mrblib/method.rb, line 13
def receiver
  @recv
end
            
to_proc() click to toggle source
 
               # File mrbgems/mruby-method/mrblib/method.rb, line 2
def to_proc
  m = self
  lambda { |*args, &b|
    m.call(*args, &b)
  }
end