Class: Planik::Lohnausweis::Fakt
- Defined in:
- lib/lohnausweis/daten_eintrag.rb
Instance Attribute Summary collapse
-
#betrag ⇒ Object
readonly
Returns the value of attribute betrag.
Attributes inherited from Eintrag
#ansatz, #einheit, #menge, #name
Instance Method Summary collapse
- #ansatz_to_s ⇒ Object
-
#initialize(name, menge, ansatz, betrag, einheit = "Fr") ⇒ Fakt
constructor
A new instance of Fakt.
Methods inherited from Eintrag
#betrag_gerundet_to_s, #menge_to_s
Constructor Details
#initialize(name, menge, ansatz, betrag, einheit = "Fr") ⇒ Fakt
Returns a new instance of Fakt.
55 56 57 58 |
# File 'lib/lohnausweis/daten_eintrag.rb', line 55 def initialize(name, menge, ansatz, betrag, einheit = "Fr") super(name, menge, ansatz, einheit) @betrag = betrag end |
Instance Attribute Details
#betrag ⇒ Object (readonly)
Returns the value of attribute betrag.
53 54 55 |
# File 'lib/lohnausweis/daten_eintrag.rb', line 53 def betrag @betrag end |
Instance Method Details
#ansatz_to_s ⇒ Object
60 61 62 |
# File 'lib/lohnausweis/daten_eintrag.rb', line 60 def ansatz_to_s ansatz end |