Class: Time
- Inherits:
-
Object
- Object
- Time
- Defined in:
- waxx/patch.rb
Instance Method Summary collapse
-
#f(format = '%d-%b-%Y') ⇒ Object
Format time in strftime.
-
#h ⇒ Object
HTML format.
Instance Method Details
#f(format = '%d-%b-%Y') ⇒ Object
Format time in strftime
117 118 119 |
# File 'waxx/patch.rb', line 117 def f(format='%d-%b-%Y') strftime format end |
#h ⇒ Object
HTML format
113 114 115 |
# File 'waxx/patch.rb', line 113 def h to_s.h end |