Class: Boletorb::Sacado

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#documentoObject

Returns the value of attribute documento.



17
18
19
# File 'lib/boletorb.rb', line 17

def documento
  @documento
end

#enderecoObject

Returns the value of attribute endereco.



17
18
19
# File 'lib/boletorb.rb', line 17

def endereco
  @endereco
end

#nomeObject

Returns the value of attribute nome.



17
18
19
# File 'lib/boletorb.rb', line 17

def nome
  @nome
end

Instance Method Details

#formatadoObject



19
20
21
# File 'lib/boletorb.rb', line 19

def formatado
	"#{nome} - #{documento}"
end