PageRenderTime 18ms CodeModel.GetById 9ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 0ms

/lib/object.rb

http://github.com/feyeleanor/RubyGoLightly
Ruby | 9 lines | 8 code | 1 blank | 0 comment | 1 complexity | 9645039f13b2ddcb65456d2628e4a69b MD5 | raw file
1class Object
2  def respond_to?(message)
3    !!method(message)
4  end
5  
6  def ==(other)
7    object_id == other.object_id
8  end
9end