class DateTime
Public Instance Methods
format( spec )
click to toggle source
# File lib/date-formatter.rb, line 108 def format( spec ) self.strftime( spec.to_strftime ); end
# File lib/date-formatter.rb, line 108 def format( spec ) self.strftime( spec.to_strftime ); end