View difference between Paste ID: vr7yRwjg and S0KxjgJp
SHOW: | | - or go back to the newest paste.
1-
Object.class_eval do 
1+
Object.instance_eval do 
2
	def foo
3
		puts "bar"
4
	end
5
end
6
7
Object.class_eval do
8
	class << self 
9
		def foo 
10
			puts "bar"
11
		end
12
	end
13
end