Class: Time

Inherits:
Object
  • Object
show all
Defined in:
waxx/patch.rb

Instance Method Summary collapse

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

#hObject

HTML format



113
114
115
# File 'waxx/patch.rb', line 113

def h
  to_s.h
end