Programming With Ruby Episode 4, Main Ruby Concepts

Pubblicato il: 09 aprile 2009
sul canale di: 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")


In questa pagina del sito puoi guardare il video online Programming With Ruby Episode 4, Main Ruby Concepts della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Man With Code 09 aprile 2009, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 21,504 volte e gli è piaciuto 50 spettatori. Buona visione!