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
0
67
Writing config files in Ruby
Grzegorz Witek
March 25, 2018
Tweet
Share
More Decks by Grzegorz Witek
See All by Grzegorz Witek
One Year with Hanami
arnvald
0
51
Coercion in Ruby
arnvald
1
71
Speaking at RDRC
arnvald
0
51
Read more
arnvald
2
44
Your API is too slow!
arnvald
0
590
The simplest gem you'll ever use
arnvald
0
40
International to global
arnvald
0
32
Patterns, patterns everywhere
arnvald
0
30
Nomadic programmer - Baruco 2014 edition
arnvald
0
110
Other Decks in Technology
See All in Technology
グイグイ系QAマネージャーの仕事
sadonosake
0
340
Classmethod AI Talks(CATs) #1 司会進行スライド(2024.09.19) / classmethod-ai-talks-aka-cats_moderator-slides_vol1_2024-09-19
shinyaa31
0
110
JEP 480: Structured Concurrency
aya_ebata
0
130
Segment Anything Model 2
tenten0727
3
700
「認証認可」という体験をデザインする ~Nekko Cloud認証認可基盤計画
logica0419
2
450
アプリをリリースできる状態に保ったまま 段階的にリファクタリングするための 戦略と戦術 / Strategies and tactics for incremental refactoring
yanzm
6
1.4k
タイミーのレコメンドにおける ABテストの運用
ozeshun
1
150
Privacy Sandbox on Android / DroidKaigi 2024
7pairs
1
270
不動産売買取引におけるAIの可能性とプロダクトでのAI活用
zabio3
0
270
watsonx.ai Dojo 環境準備について
oniak3ibm
PRO
0
300
『GRANBLUE FANTASY: Relink』最高の「没入感」を実現するカットシーン制作手法とそれを支える技術
cygames
1
140
サーバレスでモバイルアプリ開発! NTTコム「ビジネスdアプリ」のアーキテクチャ / The architecture of business d app
nttcom
12
240
Featured
See All Featured
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
36
2.1k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
38
9.2k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
28
1.6k
Happy Clients
brianwarren
96
6.6k
Six Lessons from altMBA
skipperchong
26
3.4k
Automating Front-end Workflow
addyosmani
1365
200k
What's new in Ruby 2.0
geeforr
340
31k
Designing for Performance
lara
604
68k
Pencils Down: Stop Designing & Start Developing
hursman
119
11k
Fashionably flexible responsive web design (full day workshop)
malarkey
401
65k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
502
140k
The Cult of Friendly URLs
andyhume
76
6k
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