Class: Planik::Lohnausweis::Formatter
- Inherits:
-
Object
- Object
- Planik::Lohnausweis::Formatter
- Defined in:
- lib/lohnausweis/arbeitslistespalten.rb
Direct Known Subclasses
DateFormatter, NullFormatter, TimeDeziFormatter, TimeEndFormatter, TimeFormatter
Instance Attribute Summary collapse
-
#align_right ⇒ Object
readonly
Returns the value of attribute align_right.
Instance Method Summary collapse
-
#initialize(align_right = false) ⇒ Formatter
constructor
A new instance of Formatter.
- #summe(arbeitsliste) ⇒ Object
Constructor Details
#initialize(align_right = false) ⇒ Formatter
Returns a new instance of Formatter.
10 11 12 |
# File 'lib/lohnausweis/arbeitslistespalten.rb', line 10 def initialize align_right = false @align_right = align_right end |
Instance Attribute Details
#align_right ⇒ Object (readonly)
Returns the value of attribute align_right.
8 9 10 |
# File 'lib/lohnausweis/arbeitslistespalten.rb', line 8 def align_right @align_right end |
Instance Method Details
#summe(arbeitsliste) ⇒ Object
14 15 16 |
# File 'lib/lohnausweis/arbeitslistespalten.rb', line 14 def summe(arbeitsliste) nil end |