Guest User

Untitled

a guest
May 16th, 2018
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. irb(main):035:0> class Object
  2. irb(main):036:1> def self.method_added(id)
  3. irb(main):037:2> puts id.class.method_table[id.id2name]
  4. irb(main):038:2> end
  5. irb(main):039:1> end
  6. => #<CompiledMethod:0xc41 name=method_added file=(irb)>
  7. irb(main):040:0> def baz; end
  8. => #<CompiledMethod:0xc49 name=baz file=(irb)>
Add Comment
Please, Sign In to add comment