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

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

#nameObject

Returns the value of attribute name.



31
32
33
# File 'lib/lohnausweis/rohdaten.rb', line 31

def name
  @name
end

#nummerObject

Returns the value of attribute nummer.



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

def nummer
  @nummer
end

#ortObject

Returns the value of attribute ort.



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

def ort
  @ort
end

#plzObject

Returns the value of attribute plz.



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

def plz
  @plz
end

#strasseObject

Returns the value of attribute strasse.



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

def strasse
  @strasse
end

#vornameObject

Returns the value of attribute vorname.



31
32
33
# File 'lib/lohnausweis/rohdaten.rb', line 31

def vorname
  @vorname
end

Instance Method Details

#plz_ortObject



43
44
45
# File 'lib/lohnausweis/rohdaten.rb', line 43

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

#strasse_nrObject



47
48
49
# File 'lib/lohnausweis/rohdaten.rb', line 47

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

#voller_nameObject



39
40
41
# File 'lib/lohnausweis/rohdaten.rb', line 39

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