Class: Time
- Inherits:
-
Object
- Object
- Time
- Defined in:
- lib/fsxtrader.rb
Instance Method Summary collapse
-
#pretty_print ⇒ Object
Prints the date like: Monday, June 10 of 2006 at 10:57AM.
Instance Method Details
#pretty_print ⇒ Object
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 |