Programming With Ruby Episode 4, Main Ruby Concepts

Publicado em: 09 Abril 2009
no canal de: Man With Code
21,504
50

In this episode I teach main Ruby concepts, like variables, methods, and classes. I also introduce you to irb (interactive ruby)

Donate: https://www.paypal.com/cgi-bin/webscr...

Original Post and Transcript: http://manwithcode.com/84/programming...

Code:
Define the class Greeter
class Greeter
Define the method hello
This method greets the
user
def hello(name)
puts "Hello " + name
end # End of the method hello
end # End of the class Greeter

Greeter.new.hello("Tyler")


Nesta página do site você pode assistir ao vídeo on-line Programming With Ruby Episode 4, Main Ruby Concepts duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Man With Code 09 Abril 2009, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 21,504 vezes e gostou 50 espectadores. Boa visualização!