Class: Planik::Lohnausweis::Rohdaten::Adresse
- Inherits:
-
Object
- Object
- Planik::Lohnausweis::Rohdaten::Adresse
- Defined in:
- lib/lohnausweis/rohdaten.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#nummer ⇒ Object
Returns the value of attribute nummer.
-
#ort ⇒ Object
Returns the value of attribute ort.
-
#plz ⇒ Object
Returns the value of attribute plz.
-
#strasse ⇒ Object
Returns the value of attribute strasse.
-
#vorname ⇒ Object
Returns the value of attribute vorname.
Instance Method Summary collapse
-
#initialize(voname, name, strasse, nummer, plz, ort) ⇒ Adresse
constructor
A new instance of Adresse.
- #plz_ort ⇒ Object
- #strasse_nr ⇒ Object
- #voller_name ⇒ Object
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
#name ⇒ Object
Returns the value of attribute name.
25 26 27 |
# File 'lib/lohnausweis/rohdaten.rb', line 25 def name @name end |
#nummer ⇒ Object
Returns the value of attribute nummer.
26 27 28 |
# File 'lib/lohnausweis/rohdaten.rb', line 26 def nummer @nummer end |
#ort ⇒ Object
Returns the value of attribute ort.
27 28 29 |
# File 'lib/lohnausweis/rohdaten.rb', line 27 def ort @ort end |
#plz ⇒ Object
Returns the value of attribute plz.
27 28 29 |
# File 'lib/lohnausweis/rohdaten.rb', line 27 def plz @plz end |
#strasse ⇒ Object
Returns the value of attribute strasse.
26 27 28 |
# File 'lib/lohnausweis/rohdaten.rb', line 26 def strasse @strasse end |
#vorname ⇒ Object
Returns the value of attribute vorname.
25 26 27 |
# File 'lib/lohnausweis/rohdaten.rb', line 25 def vorname @vorname end |
Instance Method Details
#plz_ort ⇒ Object
37 38 39 |
# File 'lib/lohnausweis/rohdaten.rb', line 37 def plz_ort "#{plz} #{ort}" end |
#strasse_nr ⇒ Object
41 42 43 |
# File 'lib/lohnausweis/rohdaten.rb', line 41 def strasse_nr "#{strasse} #{nummer}" end |
#voller_name ⇒ Object
33 34 35 |
# File 'lib/lohnausweis/rohdaten.rb', line 33 def voller_name "#{vorname} #{name}" end |