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
Returns a new instance of Adresse.
35 36 37 |
# File 'lib/lohnausweis/rohdaten.rb', line 35 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.
31 32 33 |
# File 'lib/lohnausweis/rohdaten.rb', line 31 def name @name end |
#nummer ⇒ Object
Returns the value of attribute nummer.
32 33 34 |
# File 'lib/lohnausweis/rohdaten.rb', line 32 def nummer @nummer end |
#ort ⇒ Object
Returns the value of attribute ort.
33 34 35 |
# File 'lib/lohnausweis/rohdaten.rb', line 33 def ort @ort end |
#plz ⇒ Object
Returns the value of attribute plz.
33 34 35 |
# File 'lib/lohnausweis/rohdaten.rb', line 33 def plz @plz end |
#strasse ⇒ Object
Returns the value of attribute strasse.
32 33 34 |
# File 'lib/lohnausweis/rohdaten.rb', line 32 def strasse @strasse end |
#vorname ⇒ Object
Returns the value of attribute vorname.
31 32 33 |
# File 'lib/lohnausweis/rohdaten.rb', line 31 def vorname @vorname end |
Instance Method Details
#plz_ort ⇒ Object
43 44 45 |
# File 'lib/lohnausweis/rohdaten.rb', line 43 def plz_ort "#{plz} #{ort}" end |
#strasse_nr ⇒ Object
47 48 49 |
# File 'lib/lohnausweis/rohdaten.rb', line 47 def strasse_nr "#{strasse} #{nummer}" end |
#voller_name ⇒ Object
39 40 41 |
# File 'lib/lohnausweis/rohdaten.rb', line 39 def voller_name "#{vorname} #{name}" end |