This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Boleto | |
def initialize(valor, vencimento) | |
@valor = valor | |
@vencimento = vencimento | |
end | |
def gerar_boleto | |
gerar_header | |
gerar_valor | |
gerar_vencimento | |
gerar_footer | |
end | |
def gerar_header | |
end | |
def gerar_valor | |
puts("Valor:" + @valor ) | |
end | |
def gerar_vencimento | |
puts("Vencimento:" + @vencimento ) | |
end | |
def gerar_footer | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment