Class: Boletorb::Sacado
- Inherits:
-
Object
- Object
- Boletorb::Sacado
- Defined in:
- lib/boletorb.rb
Instance Attribute Summary collapse
-
#documento ⇒ Object
Returns the value of attribute documento.
-
#endereco ⇒ Object
Returns the value of attribute endereco.
-
#nome ⇒ Object
Returns the value of attribute nome.
Instance Method Summary collapse
Instance Attribute Details
#documento ⇒ Object
Returns the value of attribute documento.
17 18 19 |
# File 'lib/boletorb.rb', line 17 def documento @documento end |
#endereco ⇒ Object
Returns the value of attribute endereco.
17 18 19 |
# File 'lib/boletorb.rb', line 17 def endereco @endereco end |
#nome ⇒ Object
Returns the value of attribute nome.
17 18 19 |
# File 'lib/boletorb.rb', line 17 def nome @nome end |
Instance Method Details
#formatado ⇒ Object
19 20 21 |
# File 'lib/boletorb.rb', line 19 def formatado "#{nome} - #{documento}" end |