Class: Planik::Lohnausweis::Rohdaten::MengeAnsatz

Inherits:
Object
  • Object
show all
Defined in:
lib/lohnausweis/rohdaten.rb

Overview

Entspricht einer lohnrelevanten Zeile im PDF, z.B. Kinderzulage: menge: 2, Ansatz: 260 Betrag wird ausgerechnet

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(menge, ansatz) ⇒ MengeAnsatz

Returns a new instance of MengeAnsatz.



15
16
17
# File 'lib/lohnausweis/rohdaten.rb', line 15

def initialize(menge, ansatz)
  @menge, @ansatz = menge, ansatz;
end

Instance Attribute Details

#ansatzObject

Returns the value of attribute ansatz.



13
14
15
# File 'lib/lohnausweis/rohdaten.rb', line 13

def ansatz
  @ansatz
end

#mengeObject

Returns the value of attribute menge.



13
14
15
# File 'lib/lohnausweis/rohdaten.rb', line 13

def menge
  @menge
end