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
110
Coercion in Ruby
arnvald
1
180
Speaking at RDRC
arnvald
0
170
Read more
arnvald
2
140
Your API is too slow!
arnvald
0
760
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
150
Other Decks in Technology
See All in Technology
平文パスワードはログに“残り” ── 肝心の侵入は“痕跡すら残らない”
kuroneko13
0
110
AIにブラウザを触らせて、E2EテストをPlaywrightで書く
koji_kawamura
0
210
[potatotips #96] Give Your AI Agent the Flutter Playbook
korodroid
0
120
猫付きpingコマンドを自作
uyuki234
0
280
ホームラボ紹介
y_sera15
0
220
AIで変わるエンジニアの働き方(仮)
naoinaoi
0
220
AIに狂うスタートアップが、あえて「人との協働」に全振りした新卒エンジニア研修 / New Graduate Engineer Training at a Startup Accelerating AI Adoption
ohnoeight
0
160
属人化を叩き割れ!「制作加速」と「安定化」の矛盾を打破する:8年目プロダクトが辿り着いた「ミスが起こり得ない」アセット制作フローの全貌
gree_tech
PRO
0
120
도구에서 동료까지: 10년차 AI 스타트업의 AI 적응기
inureyes
PRO
1
300
英語が話せなくてもKubeConスタッフに参加した話
yusuke427
0
1k
Go 1.27 の標準パッケージに uuid が入った!のでいろいろ喋る / go_127_std_go_uuid
convto
3
540
AI for Science時代を切り開く、政府の次世代HPC戦略の展望
gpuunite_official
0
120
Featured
See All Featured
WENDY [Excerpt]
tessaabrams
11
39k
Git: the NoSQL Database
bkeepers
PRO
432
67k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
430
Color Theory Basics | Prateek | Gurzu
gurzu
0
430
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.8k
エンジニアに許された特別な時間の終わり
watany
108
250k
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
170
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
30k
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
73
41k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
570
Fashionably flexible responsive web design (full day workshop)
malarkey
408
67k
Embracing the Ebb and Flow
colly
88
5.1k
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