Class: Planik::Lohnausweis::Rohdaten::ArbeitsItem

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

Overview

Ein Dienst, Termine mit Arbeitszeit oder “andere Arbeit”. Erscheinen im Anhang des PDFs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(datum, name, typ, zeit_von, zeit_bis, arbeitszeit) ⇒ ArbeitsItem

Returns a new instance of ArbeitsItem.



59
60
61
# File 'lib/lohnausweis/rohdaten.rb', line 59

def initialize(datum, name, typ, zeit_von, zeit_bis, arbeitszeit)
  @datum, @name, @typ, @zeit_von, @zeit_bis, @arbeitszeit = datum, name, typ, zeit_von, zeit_bis, arbeitszeit
end

Instance Attribute Details

#arbeitszeitObject

Returns the value of attribute arbeitszeit.



57
58
59
# File 'lib/lohnausweis/rohdaten.rb', line 57

def arbeitszeit
  @arbeitszeit
end

#datumObject

Returns the value of attribute datum.



57
58
59
# File 'lib/lohnausweis/rohdaten.rb', line 57

def datum
  @datum
end

#nameObject

Returns the value of attribute name.



57
58
59
# File 'lib/lohnausweis/rohdaten.rb', line 57

def name
  @name
end

#typObject

Returns the value of attribute typ.



57
58
59
# File 'lib/lohnausweis/rohdaten.rb', line 57

def typ
  @typ
end

#zeit_bisObject

Returns the value of attribute zeit_bis.



57
58
59
# File 'lib/lohnausweis/rohdaten.rb', line 57

def zeit_bis
  @zeit_bis
end

#zeit_vonObject

Returns the value of attribute zeit_von.



57
58
59
# File 'lib/lohnausweis/rohdaten.rb', line 57

def zeit_von
  @zeit_von
end