Class: Time

Inherits:
Object
  • Object
show all
Defined in:
lib/fsxtrader.rb

Instance Method Summary collapse

Instance Method Details

#pretty_printObject

Prints the date like: Monday, June 10 of 2006 at 10:57AM



19
20
21
# File 'lib/fsxtrader.rb', line 19

def pretty_print
  return self.strftime("%A, %B %d of %Y at %I:%M %p")
end