box-o-sand/oldstuff/RubyFun/round0/metherds.rb

16 lines
225 B
Ruby
Raw Normal View History

2009-06-12 01:56:55 +00:00
def main()
5.times { puts "Mice!\n" }
ele = "Elephants like Peanuts, but they is poison!!"
puts ele + ' is of length = ' + ele.length.to_s
puts "I yam: " + self.to_s
end
if __FILE__ == $0
main()
end