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
40
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
PostgreSQLのRow Level SecurityをPHPのORMで扱う Eloquent vs Doctrine #phpcon #track2
77web
1
180
たった 1 枚の PHP ファイルで実装する MCP サーバ / MCP Server with Vanilla PHP
okashoi
1
150
カクヨムAndroidアプリのリブート
numeroanddev
0
440
Elixir で IoT 開発、 Nerves なら簡単にできる!?
pojiro
1
150
型付きアクターモデルがもたらす分散シミュレーションの未来
piyo7
0
800
LINEヤフー データグループ紹介
lycorp_recruit_jp
0
770
PHPで始める振る舞い駆動開発(Behaviour-Driven Development)
ohmori_yusuke
2
160
Effect の双対、Coeffect
yukikurage
5
1.4k
第9回 情シス転職ミートアップ 株式会社IVRy(アイブリー)の紹介
ivry_presentationmaterials
1
210
Cline指示通りに動かない? AI小説エージェントで学ぶ指示書の書き方と自動アップデートの仕組み
kamomeashizawa
1
560
ドメインモデリングにおける抽象の役割、tagless-finalによるDSL構築、そして型安全な最適化
knih
11
2k
アンドパッドの Go 勉強会「 gopher 会」とその内容の紹介
andpad
0
250
Featured
See All Featured
Practical Orchestrator
shlominoach
188
11k
Building Applications with DynamoDB
mza
95
6.5k
Making the Leap to Tech Lead
cromwellryan
134
9.3k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
31
1.2k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
32
2.3k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
667
120k
Product Roadmaps are Hard
iamctodd
PRO
53
11k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
20
1.3k
Automating Front-end Workflow
addyosmani
1370
200k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
130
19k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
357
30k
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