Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
Writing config files in Ruby
Grzegorz Witek
March 25, 2018
Technology
0
25
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
38
Coercion in Ruby
arnvald
1
33
Speaking at RDRC
arnvald
0
28
Read more
arnvald
2
28
Your API is too slow!
arnvald
0
360
The simplest gem you'll ever use
arnvald
0
18
International to global
arnvald
0
20
Patterns, patterns everywhere
arnvald
0
17
Nomadic programmer - Baruco 2014 edition
arnvald
0
74
Other Decks in Technology
See All in Technology
ISUCON で使えるツールを作った
shotakitazawa
0
350
THETA Xの登場はジオ業界を変えるか?
furuhashilab
0
140
Okta Identity Engineってどうよ?
tatsumin39
0
270
AWS Control TowerとAWS Organizationsを活用した組織におけるセキュリティ設定
fu3ak1
2
580
JAWS-UG 朝会 #33 登壇資料
takakuni
0
350
220428event_matsuda_part
caddi_eng
0
240
Adopting Kafka for the #1 job site in the world
ymyzk
1
230
Salesforce女子部-権限についてまとめてみたその1
sfggjp
0
160
The Real MVP: Going from idea to users' hands
adavis
0
520
Babylon.jsで3DViewerを作ってみた!!!
iwaken71
0
180
Web Intelligence and Visual Media Analytics
weblyzard
PRO
1
2.8k
We’re all on the path of growth 🌱
mosky
1
350
Featured
See All Featured
Building Better People: How to give real-time feedback that sticks.
wjessup
343
17k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
15
900
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
151
12k
5 minutes of I Can Smell Your CMS
philhawksworth
196
18k
Making the Leap to Tech Lead
cromwellryan
113
6.9k
Optimizing for Happiness
mojombo
365
63k
Rebuilding a faster, lazier Slack
samanthasiow
62
7.2k
Become a Pro
speakerdeck
PRO
3
770
How GitHub (no longer) Works
holman
296
140k
How STYLIGHT went responsive
nonsquared
85
3.9k
How to Ace a Technical Interview
jacobian
265
21k
Code Review Best Practice
trishagee
41
6.7k
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