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
Writing config files in Ruby
Search
Grzegorz Witek
March 25, 2018
Technology
170
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Writing config files in Ruby
Grzegorz Witek
March 25, 2018
More Decks by Grzegorz Witek
See All by Grzegorz Witek
One Year with Hanami
arnvald
0
100
Coercion in Ruby
arnvald
1
180
Speaking at RDRC
arnvald
0
170
Read more
arnvald
2
130
Your API is too slow!
arnvald
0
750
The simplest gem you'll ever use
arnvald
0
140
International to global
arnvald
0
140
Patterns, patterns everywhere
arnvald
0
160
Nomadic programmer - Baruco 2014 edition
arnvald
0
140
Other Decks in Technology
See All in Technology
End-to-Endで考える信頼性 —LINEアプリにおけるクライアント開発×SRE連携の実践
maruloop
3
550
Keeping applications secure by evolving OAuth 2.0 and OpenID Connect
ahus1
PRO
1
140
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
11k
Amazon EVS で VCF 9.0 / 9.1 のサポート開始まとめ
mtoyoda
0
250
スタートアップにおけるアジャイルの実践について #shibuyagile
murabayashi
3
2.1k
フルAIで個人開発して学んだあれこれ / yuruai vol.1
isaoshimizu
0
180
美しいコードを書くためにF#を学んでみた話
yud0uhu
1
200
はてなのサービス基盤を支える Kubernetes《足腰》
masayoshimaezawa
0
440
GuardrailからGovernanceへ~AIエージェント運用の次の課題~
sbspsy
1
190
SRE Lounge Hiroshimaへの招待
grimoh
0
230
どうして今サーバーサイドKotlinを選択したのか
nealle
0
200
アカウントが増えてからでは遅い? ~ マルチアカウント統制の勘所 ~
kenichinakamura
0
110
Featured
See All Featured
Fireside Chat
paigeccino
42
4k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Deep Space Network (abreviated)
tonyrice
0
220
We Are The Robots
honzajavorek
0
270
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
380
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
340
Art, The Web, and Tiny UX
lynnandtonic
304
22k
For a Future-Friendly Web
brad_frost
183
10k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.5k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
330
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
440
Transcript
> < FOOTNOTE TEXT NOBODY READS WRITING CONFIG FILES IN
RUBY @ARNVALD, RUBYCONFTW 2018 1
CONFIG FILES? next 2
BORING!!! next 3
just use JSON / YAML / XML or store it
in the db next 4
configuration is static next 5
what if it has to be dynamic? next 6
is it still configuration? next 7
gem 'simple_configuration' next 8
github: arnvald/simple_configuration next 9
Challenge time! next 10
> < STILL NOTHING TO SEE HERE 11 MISSING_VALUE =
'__missing_value__' def config( config_name, default_value = MISSING_VALUE, &default_value_blk )
> < STILL NOTHING TO SEE HERE 12 engineering.kaligo.com