Sha256: 60acbc881339b068fad1e25519ef5e5ee31a9f4077dcd4d52490bada0785b4dd

Contents?: true

Size: 195 Bytes

Versions: 23

Compression:

Stored size: 195 Bytes

Contents

class Method
  def to_proc
    m = self
    lambda { |*args, &b|
      m.call(*args, &b)
    }
  end

  def owner
    @owner
  end

  def receiver
    @recv
  end

  def name
    @name
  end
end

Version data entries

23 entries across 23 versions & 2 rubygems

Version Path
script_core-0.0.6 ext/enterprise_script_service/mruby/mrbgems/mruby-method/mrblib/method.rb
script_core-0.0.5 ext/enterprise_script_service/mruby/mrbgems/mruby-method/mrblib/method.rb
esruby-0.2.0 resources/mruby/mrbgems/mruby-method/mrblib/method.rb
esruby-0.1.5 resources/mruby/mrbgems/mruby-method/mrblib/method.rb
esruby-0.1.4 resources/mruby/mrbgems/mruby-method/mrblib/method.rb
esruby-0.1.3 resources/mruby/mrbgems/mruby-method/mrblib/method.rb
esruby-0.1.2 resources/mruby/mrbgems/mruby-method/mrblib/method.rb
esruby-0.1.1 resources/mruby/mrbgems/mruby-method/mrblib/method.rb
esruby-0.1.0 resources/mruby/mrbgems/mruby-method/mrblib/method.rb
esruby-0.0.11 resources/mruby/mrbgems/mruby-method/mrblib/method.rb
esruby-0.0.10 resources/mruby/mrbgems/mruby-method/mrblib/method.rb
esruby-0.0.9 resources/mruby/mrbgems/mruby-method/mrblib/method.rb
esruby-0.0.8 resources/mruby/mrbgems/mruby-method/mrblib/method.rb
esruby-0.0.7 resources/mruby/mrbgems/mruby-method/mrblib/method.rb
esruby-0.0.6 resources/mruby/mrbgems/mruby-method/mrblib/method.rb
esruby-0.0.5 resources/mruby/mrbgems/mruby-method/mrblib/method.rb
esruby-0.0.3 resources/mruby/mrbgems/mruby-method/mrblib/method.rb
esruby-0.0.2 resources/mruby/mrbgems/mruby-method/mrblib/method.rb
esruby-0.0.0 resources/mruby/mrbgems/mruby-method/mrblib/method.rb
script_core-0.0.4 ext/enterprise_script_service/mruby/mrbgems/mruby-method/mrblib/method.rb