RUBYTIME!!!Kevin Martínez
...I want to minimize my effort inprogramming.Yukihiro Matsumoto
P . O . O.(Todo es un objeto)
10.times{ puts “hello word”}“hola, soy una cadena”.length[8, 3, 4].sort
Azúcar(Sintáctica)
saludo = trueputs “hola” if (saludo == true)edad = 30p (“eres mayor”) unless edad < 181.upto(5).each{|x| puts “hi” + x.to_...
CODINGKATATIME!!!
Fizz Buzz(Stage 1)Return “fizz”, “buzz” or “fizzbuzz”.For a givennatural number greater zero return“fizz” if the number is...
Fizz Buzz(Stage 2)A number is fizz if it is divisible by 3 or if ithas a 3 in it.A number is buzz if it is divisible by 5 ...
Ecosistema
Documentación
Ruby-doc.orgmislav.uniqpath.com/poignant-guideRubymonk.comCodeacademy.comCodeschool.comCodeEvalcodersdojo.orgcodingdojo.or...
Gracias@n4utilius
Ruby Time!!!: Una Introducción a Ruby
Upcoming SlideShare
Loading in...5
×

Ruby Time!!!: Una Introducción a Ruby

312

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
312
On Slideshare
0
From Embeds
0
Number of Embeds
7
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Ruby Time!!!: Una Introducción a Ruby

  1. 1. RUBYTIME!!!Kevin Martínez
  2. 2. ...I want to minimize my effort inprogramming.Yukihiro Matsumoto
  3. 3. P . O . O.(Todo es un objeto)
  4. 4. 10.times{ puts “hello word”}“hola, soy una cadena”.length[8, 3, 4].sort
  5. 5. Azúcar(Sintáctica)
  6. 6. saludo = trueputs “hola” if (saludo == true)edad = 30p (“eres mayor”) unless edad < 181.upto(5).each{|x| puts “hi” + x.to_s}(a..z).to_a
  7. 7. CODINGKATATIME!!!
  8. 8. Fizz Buzz(Stage 1)Return “fizz”, “buzz” or “fizzbuzz”.For a givennatural number greater zero return“fizz” if the number is dividable by 3“buzz” if the number is dividable by 5“fizzbuzz” if the number is dividable by 151 -> 1 5 -> buzz2 -> 2 6 -> fizz3 -> fizz 10 -> buzz4 -> 4 15 -> fizzbuzz
  9. 9. Fizz Buzz(Stage 2)A number is fizz if it is divisible by 3 or if ithas a 3 in it.A number is buzz if it is divisible by 5 or if ithas a 5 in it31 -> fizz 52 -> buzz 35 -> fizzbuzz
  10. 10. Ecosistema
  11. 11. Documentación
  12. 12. Ruby-doc.orgmislav.uniqpath.com/poignant-guideRubymonk.comCodeacademy.comCodeschool.comCodeEvalcodersdojo.orgcodingdojo.orgetnassoft.com/biblioteca
  13. 13. Gracias@n4utilius
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×