Top Level Namespace
Defined Under Namespace
Modules: Chronograph
Instance Method Summary collapse
Instance Method Details
#parse_date(x) ⇒ Object
27 28 29 |
# File 'lib/chronograph/event.rb', line 27 def parse_date x x.is_a?(Integer) ? Date.new(x) : x end |