to_s

meth.to_s â string
Instance Public methods

Returns the name of the underlying method.

"cat".method(:count).inspect   #=> "#<Method: String#count>"
doc_ruby_on_rails
2015-06-09 23:54:57
Comments
Leave a Comment

Please login to continue.