I like to see the value of my variables, so I write
puts "count=#{@count}"
Is there a way that I can say
@count.puts
or with some other method name, and get the output
count=77
I like to see the value of my variables, so I write
puts "count=#{@count}"
Is there a way that I can say
@count.puts
or with some other method name, and get the output
count=77