module MyEnumerables
def myEach
for i in self
yield(i)
end
self
end
end
include MyEnumerables
(1..5).myEach do |n|
puts n
end
bW9kdWxlIE15RW51bWVyYWJsZXMKCWRlZiBteUVhY2gKCQlmb3IgaSBpbiBzZWxmCgkJCXlpZWxkKGkpCgkJZW5kCgkJc2VsZgoJZW5kCmVuZAoKaW5jbHVkZSBNeUVudW1lcmFibGVzCigxLi41KS5teUVhY2ggZG8gfG58CglwdXRzIG4KZW5k