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
[Rails Girls SP 2017] Lógica de programação com...
Search
Flavia Fortes
August 19, 2017
Programming
0
140
[Rails Girls SP 2017] Lógica de programação com Ruby
Flavia Fortes
August 19, 2017
Tweet
Share
More Decks by Flavia Fortes
See All by Flavia Fortes
[RubyConfBR 2017] Elixir/Elug - Flavia Fortes e Charlotte Oliveira
flaviafortes
0
130
[RubyConfBR 2017] Refatorando Rails apps com confiança
flaviafortes
3
200
[Women Dev Summit 2017] Introdução ao framework Phoenix
flaviafortes
0
97
[RubyConf 2016] Como funciona o Rails
flaviafortes
1
220
[RubyConf 2015] Learn From My Mistakes
flaviafortes
6
880
Other Decks in Programming
See All in Programming
技術を根付かせる / How to make technology take root
kubode
1
250
Unity Android XR入門
sakutama_11
0
160
第3回関東Kaggler会_AtCoderはKaggleの役に立つ
chettub
3
1k
Linux && Docker 研修/Linux && Docker training
forrep
24
4.5k
PHPのバージョンアップ時にも役立ったAST
matsuo_atsushi
0
110
『GO』アプリ バックエンドサーバのコスト削減
mot_techtalk
0
140
Pulsar2 を雰囲気で使ってみよう
anoken
0
240
富山発の個人開発サービスで日本中の学校の業務を改善した話
krpk1900
4
390
Kubernetes History Inspector(KHI)を触ってみた
bells17
0
230
Grafana Cloudとソラカメ
devoc
0
170
苦しいTiDBへの移行を乗り越えて快適な運用を目指す
leveragestech
0
600
CDK開発におけるコーディング規約の運用
yamanashi_ren01
2
120
Featured
See All Featured
Site-Speed That Sticks
csswizardry
4
380
Rebuilding a faster, lazier Slack
samanthasiow
80
8.8k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
233
17k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.7k
Product Roadmaps are Hard
iamctodd
PRO
50
11k
Building a Scalable Design System with Sketch
lauravandoore
461
33k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
40
2k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
330
21k
Building a Modern Day E-commerce SEO Strategy
aleyda
38
7.1k
Practical Orchestrator
shlominoach
186
10k
Transcript
None
Flavia Fortes @flafortes
Lógica de programação com Ruby :D
0 que é programar?
None
None
Variáveis
None
Tipos de dados
String
Integer
Float
Array
Array
Array
Hash
Como eu posso acessar a chave `name` da variável `coach`?
Hash
Vamos dificultar um pouquinho...
None
Como eu faço pra guardar o nome e a idade
de mais de uma coach em uma variável?
None
Qual é o tipo de dado dessa nova variável que
criamos?
...
None
Array de Hashes!11!!!!onze
Disclaimer: Existem diferentes tipos de variáveis e mais tipos de
dados.
Condicionais
None
Operadores de comparação == Igual != Diferente > Maior <
Menor >= Maior ou igual <= Menor ou igual
Entre outros ...
Laços
None
Disclaimer: Existem outras formas de fazer um laço usando `for`,
`while`, por exemplo. :)
Métodos
None
None
None
Quero aprender mais sobre ruby!
http://tryruby.org/
http://why.carlosbrando.com/
http://www.ruby-lang.org/pt/documentation/
@flafortes
Obrigada!