Class: NilClass
Instance Method Summary collapse
-
#to_s(param = nil) ⇒ Object
overriding the default nil.to_s to just ignore the parameter in case we think it’s a date (like created_at.to_s(:mdy)).
Instance Method Details
#to_s(param = nil) ⇒ Object
overriding the default nil.to_s to just ignore the parameter in case we think it’s a date (like created_at.to_s(:mdy))
10 11 12 |
# File 'lib/gci-class-extensions.rb', line 10 def to_s(param=nil) "" end |