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
57
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
44
Coercion in Ruby
arnvald
1
62
Speaking at RDRC
arnvald
0
44
Read more
arnvald
2
37
Your API is too slow!
arnvald
0
520
The simplest gem you'll ever use
arnvald
0
29
International to global
arnvald
0
30
Patterns, patterns everywhere
arnvald
0
26
Nomadic programmer - Baruco 2014 edition
arnvald
0
100
Other Decks in Technology
See All in Technology
単回帰分析について数式を追いながら実装してみた
kentaitakura
0
500
生成AI・LLM時代における 機械学習エンジニアとしてのキャリア戦略・開発戦略 / my-career-and-development-strategies-for-ml-engineer-2024
yuya4
3
240
KubeCon EU: Unlocking new Platform Experiences with Open Interfaces
salaboy
1
370
ハイパフォーマンスな組織をつくるための開発生産性の考え方 / developer-productivity-high-performer-link-and-motivation
lmi
3
250
プッシュ型子育てサービスを、先行プロジェクト実施自治体において開始します
govtechtokyo
0
250
生成AIサービスPanorama AIご説明資料
sdt
0
300
OCI Data Integration技術情報 / ocidi_technical_jp
oracle4engineer
PRO
1
1.5k
関数型DDDの理論と実践:「決定を遅らせる」を先につくり、 ビジネスの機動力と価値をあげる
knih
2
470
これまでのキャリアとこれからMLエンジニアとしてどう動くか
masatakashiwagi
0
300
技育祭2024春 LT Finatextホールディングス
kevinrobot34
1
160
サービスメッシュ環境における OpenTelemetry 活用 / OpenTelemetry in Service Mesh
k6s4i53rx
2
830
KubeCon EU 2024 : Knative Maintainers Session
salaboy
0
370
Featured
See All Featured
The Mythical Team-Month
searls
214
42k
Optimising Largest Contentful Paint
csswizardry
7
2.3k
A Tale of Four Properties
chriscoyier
150
22k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
111
35k
Rails Girls Zürich Keynote
gr2m
91
13k
Making Projects Easy
brettharned
106
5.4k
jQuery: Nuts, Bolts and Bling
dougneiner
57
7.1k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
242
20k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
28
5.9k
Optimizing for Happiness
mojombo
369
69k
The Language of Interfaces
destraynor
150
23k
Building Your Own Lightsaber
phodgson
97
5.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