Class: Planik::Lohnausweis::Rohdaten::Adresse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(voname, name, strasse, nummer, plz, ort) ⇒ Adresse



29
30
31
# File 'lib/lohnausweis/rohdaten.rb', line 29

def initialize (voname, name, strasse, nummer, plz, ort)
  @vorname, @name, @strasse, @nummer, @plz, @ort = voname, name, strasse, nummer, plz, ort
end

Instance Attribute Details

#nameObject

Returns the value of attribute name.



25
26
27
# File 'lib/lohnausweis/rohdaten.rb', line 25

def name
  @name
end

#nummerObject

Returns the value of attribute nummer.



26
27
28
# File 'lib/lohnausweis/rohdaten.rb', line 26

def nummer
  @nummer
end

#ortObject

Returns the value of attribute ort.



27
28
29
# File 'lib/lohnausweis/rohdaten.rb', line 27

def ort
  @ort
end

#plzObject

Returns the value of attribute plz.



27
28
29
# File 'lib/lohnausweis/rohdaten.rb', line 27

def plz
  @plz
end

#strasseObject

Returns the value of attribute strasse.



26
27
28
# File 'lib/lohnausweis/rohdaten.rb', line 26

def strasse
  @strasse
end

#vornameObject

Returns the value of attribute vorname.



25
26
27
# File 'lib/lohnausweis/rohdaten.rb', line 25

def vorname
  @vorname
end

Instance Method Details

#plz_ortObject



37
38
39
# File 'lib/lohnausweis/rohdaten.rb', line 37

def plz_ort
  "#{plz} #{ort}"
end

#strasse_nrObject



41
42
43
# File 'lib/lohnausweis/rohdaten.rb', line 41

def strasse_nr
  "#{strasse} #{nummer}"
end

#voller_nameObject



33
34
35
# File 'lib/lohnausweis/rohdaten.rb', line 33

def voller_name
  "#{vorname} #{name}"
end