Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Object.class_eval do
- def foo
- puts "bar"
- end
- end
- Object.class_eval do
- class << self
- def foo
- puts "bar"
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement