Ruby Time!!!: Una Introducción a Ruby
Upcoming SlideShare
Loading in...5
×
 

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

on

  • 458 views

 

Statistics

Views

Total Views
458
Views on SlideShare
314
Embed Views
144

Actions

Likes
0
Downloads
2
Comments
0

6 Embeds 144

http://www.generandomaldad.com 101
http://www.generandomaldad.org 34
http://generandomaldad.org 5
http://www.generandomaldad.net 2
http://generandomaldad.com 1
http://generandomaldad.net 1

Accessibility

Categories

Upload Details

Uploaded via as OpenOffice

Usage Rights

CC Attribution License

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

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

  • RUBYTIME!!!Kevin Martínez
  • ...I want to minimize my effort inprogramming.Yukihiro Matsumoto
  • P . O . O.(Todo es un objeto) View slide
  • 10.times{ puts “hello word”}“hola, soy una cadena”.length[8, 3, 4].sort View slide
  • 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_s}(a..z).to_a
  • CODINGKATATIME!!!
  • 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
  • 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
  • Ecosistema
  • Documentación
  • Ruby-doc.orgmislav.uniqpath.com/poignant-guideRubymonk.comCodeacademy.comCodeschool.comCodeEvalcodersdojo.orgcodingdojo.orgetnassoft.com/biblioteca
  • Gracias@n4utilius