Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Introducción a Ruby
Search
eveevans
October 09, 2014
Programming
0
41
Introducción a Ruby
eveevans
October 09, 2014
Tweet
Share
More Decks by eveevans
See All by eveevans
Aplicaiones web - Una mirada holística
eveevans
0
150
Cómo crear plugins para Wordpress
eveevans
0
120
Other Decks in Programming
See All in Programming
Register is more than clipboard
satorunooshie
1
280
ノーコードからの脱出 -地獄のデスロード- / Escape from Base44
keisuke69
0
140
釣り地図SNSにおける有料機能の実装
nokonoko1203
0
200
TFLintカスタムプラグインで始める Terraformコード品質管理
bells17
2
510
When Dependencies Fail: Building Antifragile Applications in a Fragile World
selcukusta
0
120
業務でAIを使いたい話
hnw
0
220
Dive into Triton Internals
appleparan
0
380
AkarengaLT vol.38
hashimoto_kei
1
130
React Nativeならぬ"Vue Native"が実現するかも?_新世代マルチプラットフォーム開発フレームワークのLynxとLynxのVue.js対応を追ってみよう_Vue Lynx
yut0naga1_fa
2
2k
20251016_Rails News ~Rails 8.1の足音を聴く~
morimorihoge
3
900
CSC305 Lecture 11
javiergs
PRO
0
320
Introduce Hono CLI
yusukebe
6
3.3k
Featured
See All Featured
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.7k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
127
54k
Making Projects Easy
brettharned
120
6.4k
Reflections from 52 weeks, 52 projects
jeffersonlam
355
21k
Scaling GitHub
holman
463
140k
Context Engineering - Making Every Token Count
addyosmani
8
330
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
359
30k
Unsuck your backbone
ammeep
671
58k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
140
34k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.2k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
48
9.7k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Transcript
Ruby Build 3.0
Ruby @eveevans
A ruby been eaten by godzilla
Multiparadigma Código Abierto Multiplataforma Interpretado
None
puts "Hola Mundo"
class ClaseFulanita { public static void main() { System.out.println("Hola Mundo");
} } "Hola Mundo" en Ruby puts "Hola Mundo" "Hola Mundo" en Java
3.times do puts "Si, Ruby Rocks" end Si, Ruby Rocks
Si, Ruby Rocks Si, Ruby Rocks => 3
"¡Liberen al Kraken!".reverse => "!nekarK la nerebiL"
"¡Liberen al Kraken!".reverse. upcase => "!NEKARK LA NEREBIL¡"
class Humano end erick = Humano.new erick.class => Humano
1. def method_missing(method_name) 2. if columna = method_name.to_s.match(/^tiene_([a-z]*)\?$/) 3. self.send(columna[1].to_sym).blank?
? false : true 4. else 5. super 6. end 7. end :tiene_telefono? :tiene_precio? :tiene_algo_que_quiero?
nil.class => NilClass
1.0/0 => Infinity
¿Dónde lo uso?
Aplicaciones Web
None
None
None
Aplicaciones de Escritorio
None
Aplicaciones juegos
None
Aplicaciones de Seguridad
None
Aplicaciones para movil
Aplicaciones de lo que queramos
None
Y... ¿Nicaragua?
www.rubyni.com