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
50
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
38
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
AI活用したくてもできなかった不動産SaaSの今とこれから
nealle
0
240
デジタル化・DX推進あるある
y150saya
0
240
音声AIエージェントの世界とRetell AI入門 / Introduction to the World of Voice AI Agents and Retell AI
rkaga
4
890
Autonomous Database Cloud 技術詳細 / adb-s_technical_detail_jp
oracle4engineer
PRO
15
40k
Agile in Automotive Industry, puzzles and lights.
hiranabe
2
260
Creative UIs with Compose: DroidKaigi 2024
chrishorner
1
200
【Λ(らむだ)最近のアプデ情報 / RPALT20240904
lambda
0
190
ビジネスとエンジニアリングを繋ぐプロダクトを中心とした組織づくりの実践
sansantech
PRO
1
170
リアルお遍路+SORACOM IoT
ozk009
1
110
EitherT_with_Future
aoiroaoino
1
1k
LLVM/ASMを使った有限体の高速実装
herumi
0
110
Segment Anything Model 2
tenten0727
3
550
Featured
See All Featured
Statistics for Hackers
jakevdp
793
220k
YesSQL, Process and Tooling at Scale
rocio
167
14k
The Cult of Friendly URLs
andyhume
76
5.9k
Building Flexible Design Systems
yeseniaperezcruz
325
37k
Learning to Love Humans: Emotional Interface Design
aarron
270
40k
The World Runs on Bad Software
bkeepers
PRO
64
11k
Teambox: Starting and Learning
jrom
131
8.7k
Rails Girls Zürich Keynote
gr2m
93
13k
For a Future-Friendly Web
brad_frost
174
9.3k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
24
600
Navigating Team Friction
lara
183
13k
Fantastic passwords and where to find them - at NoRuKo
philnash
48
2.8k
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