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")
Sur cette page du site, vous pouvez voir la vidéo en ligne Programming With Ruby Episode 4, Main Ruby Concepts durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Man With Code 09 avril 2009, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 21,504 fois et il a aimé 50 téléspectateurs. Bon visionnage!