Class: Crony::YearPresenter
- Inherits:
-
Object
- Object
- Crony::YearPresenter
- Defined in:
- lib/crony/presenters/year_presenter.rb
Class Method Summary collapse
Class Method Details
.parse(year) ⇒ Object
3 4 5 6 |
# File 'lib/crony/presenters/year_presenter.rb', line 3 def self.parse(year) year = Formatters::YearFormatter.new(Parser.parse(year)) year.format end |