Class: Planik::Lohnausweis::TimeFormatter
- Defined in:
- lib/lohnausweis/arbeitslistespalten.rb
Instance Attribute Summary
Attributes inherited from Formatter
Instance Method Summary collapse
Methods inherited from Formatter
Constructor Details
This class inherits a constructor from Planik::Lohnausweis::Formatter
Instance Method Details
#format(time) ⇒ Object
26 27 28 |
# File 'lib/lohnausweis/arbeitslistespalten.rb', line 26 def format time time.nil? ? nil : time.strftime("%H:%M") end |