Monday, May 21, 2012

Ruby method calling

Different way of Ruby method calling

puts "Hello world"
puts ("Hello world")
puts
puts()

Above type applies only ruby puts method. it may vary for other methods based on definition

No comments:

Post a Comment