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
120
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
65
Coercion in Ruby
arnvald
1
120
Speaking at RDRC
arnvald
0
120
Read more
arnvald
2
80
Your API is too slow!
arnvald
0
690
The simplest gem you'll ever use
arnvald
0
82
International to global
arnvald
0
77
Patterns, patterns everywhere
arnvald
0
93
Nomadic programmer - Baruco 2014 edition
arnvald
0
120
Other Decks in Technology
See All in Technology
研究開発部メンバーの働き⽅ / Sansan R&D Profile
sansan33
PRO
3
20k
Introduction to Bill One Development Engineer
sansan33
PRO
0
300
Okta Identity Governanceで実現する最小権限の原則 / Implementing the Principle of Least Privilege with Okta Identity Governance
tatsumin39
0
160
Implementing and Evaluating a High-Level Language with WasmGC and the Wasm Component Model: Scala’s Case
tanishiking
0
170
サイバーエージェント流クラウドコスト削減施策「みんなで金塊堀太郎」
kurochan
4
2.2k
フレームワークを意識させないワークショップづくり
keigosuda
0
240
webpack依存からの脱却!快適フロントエンド開発をViteで実現する #vuefes
bengo4com
2
2.1k
React19.2のuseEffectEventを追う
maguroalternative
2
600
OCIjp_Oracle AI World_Recap
shinpy
1
160
Data Hubグループ 紹介資料
sansan33
PRO
0
2.2k
FinOps について (ちょっと) 本気出して考えてみた
skmkzyk
0
190
All About Sansan – for New Global Engineers
sansan33
PRO
1
1.2k
Featured
See All Featured
Testing 201, or: Great Expectations
jmmastey
45
7.7k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
359
30k
Designing for humans not robots
tammielis
254
26k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
253
22k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
10
880
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
23
1.5k
Docker and Python
trallard
46
3.6k
The Art of Programming - Codeland 2020
erikaheidi
56
14k
Fireside Chat
paigeccino
40
3.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