Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- irb(main):035:0> class Object
- irb(main):036:1> def self.method_added(id)
- irb(main):037:2> puts id.class.method_table[id.id2name]
- irb(main):038:2> end
- irb(main):039:1> end
- => #<CompiledMethod:0xc41 name=method_added file=(irb)>
- irb(main):040:0> def baz; end
- => #<CompiledMethod:0xc49 name=baz file=(irb)>
Add Comment
Please, Sign In to add comment