L
Luiz Vitor Martinez Cardoso
[Note: parts of this message were removed to make it a legal post.]
I'm learning Ruby, and i need to solve a problem:
class Person
def namer=(name, surname)
@var = name
@car = surname
end
end
object = Person.new
object.namer = (how to pass the params here) ?
Thanks for your attention!
--
Regards,
Luiz Vitor Martinez Cardoso
cel.: (11) 8187-8662
blog: rubz.org
engineer student at maua.br
I'm learning Ruby, and i need to solve a problem:
class Person
def namer=(name, surname)
@var = name
@car = surname
end
end
object = Person.new
object.namer = (how to pass the params here) ?
Thanks for your attention!
--
Regards,
Luiz Vitor Martinez Cardoso
cel.: (11) 8187-8662
blog: rubz.org
engineer student at maua.br