class Planik::Lohnausweis::Daten::Block
Attributes
eintraege[R]
titel_leiste[R]
Public Class Methods
new(eintraege, titel_leiste = nil)
click to toggle source
# File lib/lohnausweis/daten.rb, line 10 def initialize eintraege, titel_leiste = nil @eintraege, @titel_leiste = eintraege, titel_leiste end
Public Instance Methods
daten()
click to toggle source
# File lib/lohnausweis/daten.rb, line 14 def daten d = [] d << titel_leiste unless titel_leiste.nil? eintraege.each do |e| x = [] x << e.name x << e.menge_to_s x << e.ansatz_to_s x << e.betrag_gerundet_to_s d << x end d end