Class: Time

Inherits:
Object
  • Object
show all
Defined in:
lib/date-formatter.rb

Instance Method Summary collapse

Instance Method Details

#format(spec) ⇒ Object



112
# File 'lib/date-formatter.rb', line 112

def format( spec ) self.strftime( spec.to_strftime ); end