Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
[Rails Girls SP 2017] Lógica de programação com...
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Flavia Fortes
August 19, 2017
Programming
180
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
[Rails Girls SP 2017] Lógica de programação com Ruby
Flavia Fortes
August 19, 2017
Transcript
44 slides
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!
More Decks by Flavia Fortes
See All by Flavia Fortes
[RubyConfBR 2017] Elixir/Elug - Flavia Fortes e Charlotte Oliveira
flaviafortes
0
170
[RubyConfBR 2017] Refatorando Rails apps com confiança
flaviafortes
3
230
[Women Dev Summit 2017] Introdução ao framework Phoenix
flaviafortes
0
130
[RubyConf 2016] Como funciona o Rails
flaviafortes
1
260
[RubyConf 2015] Learn From My Mistakes
flaviafortes
6
1k
Other Decks in Programming
See All in Programming
ビジネスロジックを堅牢に~Scala 3のドメインプリミティブ~
j5ik2o
0
230
Stage 3でも仕様は変わる。アプリケーション開発者のためのTC39プロセスの読み方
bicstone
1
670
マルチプロダクトSaaSの アプリ一覧を速くする——複数プロダクトにまたがる「権限行脚」を減らすまで #techramen26conf
mktakuya
1
250
高橋メソッドでCVE解説シリーズ 〜CVE-2026-112816〜
hakkadaikon
0
280
はじめてのKubernetesコントリビューション
nasa9084
0
330
Materialが消えた日 〜真っ白なFlutterキャンバスにRenderObjectで絵を描く〜
umigishiaoi
0
170
느린 네트워크와 저사양 디바이스 사용자를 위한 웹뷰 로딩 시간 개선기
kmkim
1
270
The Cost of the DOM
ypresto
2
720
Beyond Chatbots: Agentic UI with Open Standards @W-JAX 2026, München
manfredsteyer
PRO
0
130
AIコーディング時代のKotest ユニットテストから APIレベルの仕様固定化テストへ
ooga04
0
340
Math.sumPreciseから学ぶ、ECMAScript仕様の数値の種類
syumai
0
670
AIが生成したコードは読むべきか?抽象化設計とコードの品質保証 / abstraction-design-and-quality
minodriven
17
9.6k
Featured
See All Featured
Bootstrapping a Software Product
garrettdimon
PRO
306
120k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
370
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Tell your own story through comics
letsgokoyo
1
1.1k
Building AI with AI
inesmontani
PRO
1
1.4k
Well, that’s weird…
csswizardry
3
240
Building Applications with DynamoDB
mza
96
7.3k
Building Adaptive Systems
keathley
44
3.3k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3.1k
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
850
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
2
360