Sha256: d054ae16e990df4f34a6bcd358e24d29693bf05daa888663c2ffb873bcb223b7

Contents?: true

Size: 205 Bytes

Versions: 23

Compression:

Stored size: 205 Bytes

Contents

module Kernel
  def singleton_method(name)
    m = method(name)
    if m.owner != singleton_class
      raise NameError, "undefined method `#{name}' for class `#{singleton_class}'"
    end
    m
  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/kernel.rb
script_core-0.0.5 ext/enterprise_script_service/mruby/mrbgems/mruby-method/mrblib/kernel.rb
esruby-0.2.0 resources/mruby/mrbgems/mruby-method/mrblib/kernel.rb
esruby-0.1.5 resources/mruby/mrbgems/mruby-method/mrblib/kernel.rb
esruby-0.1.4 resources/mruby/mrbgems/mruby-method/mrblib/kernel.rb
esruby-0.1.3 resources/mruby/mrbgems/mruby-method/mrblib/kernel.rb
esruby-0.1.2 resources/mruby/mrbgems/mruby-method/mrblib/kernel.rb
esruby-0.1.1 resources/mruby/mrbgems/mruby-method/mrblib/kernel.rb
esruby-0.1.0 resources/mruby/mrbgems/mruby-method/mrblib/kernel.rb
esruby-0.0.11 resources/mruby/mrbgems/mruby-method/mrblib/kernel.rb
esruby-0.0.10 resources/mruby/mrbgems/mruby-method/mrblib/kernel.rb
esruby-0.0.9 resources/mruby/mrbgems/mruby-method/mrblib/kernel.rb
esruby-0.0.8 resources/mruby/mrbgems/mruby-method/mrblib/kernel.rb
esruby-0.0.7 resources/mruby/mrbgems/mruby-method/mrblib/kernel.rb
esruby-0.0.6 resources/mruby/mrbgems/mruby-method/mrblib/kernel.rb
esruby-0.0.5 resources/mruby/mrbgems/mruby-method/mrblib/kernel.rb
esruby-0.0.3 resources/mruby/mrbgems/mruby-method/mrblib/kernel.rb
esruby-0.0.2 resources/mruby/mrbgems/mruby-method/mrblib/kernel.rb
esruby-0.0.0 resources/mruby/mrbgems/mruby-method/mrblib/kernel.rb
script_core-0.0.4 ext/enterprise_script_service/mruby/mrbgems/mruby-method/mrblib/kernel.rb