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
72
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
56
Coercion in Ruby
arnvald
1
78
Speaking at RDRC
arnvald
0
62
Read more
arnvald
2
50
Your API is too slow!
arnvald
0
630
The simplest gem you'll ever use
arnvald
0
46
International to global
arnvald
0
37
Patterns, patterns everywhere
arnvald
0
39
Nomadic programmer - Baruco 2014 edition
arnvald
0
110
Other Decks in Technology
See All in Technology
サイバー攻撃を想定したセキュリティガイドライン 策定とASM及びCNAPPの活用方法
syoshie
3
1.2k
マルチプロダクト開発の現場でAWS Security Hubを1年以上運用して得た教訓
muziyoshiz
2
2.1k
プロダクト開発を加速させるためのQA文化の築き方 / How to build QA culture to accelerate product development
mii3king
1
250
生成AIをより賢く エンジニアのための RAG入門 - Oracle AI Jam Session #20
kutsushitaneko
4
210
2024年にチャレンジしたことを振り返るぞ
mitchan
0
130
20241214_WACATE2024冬_テスト設計技法をチョット俯瞰してみよう
kzsuzuki
3
440
[Ruby] Develop a Morse Code Learning Gem & Beep from Strings
oguressive
1
150
KubeCon NA 2024 Recap / Running WebAssembly (Wasm) Workloads Side-by-Side with Container Workloads
z63d
1
240
サービスでLLMを採用したばっかりに振り回され続けたこの一年のあれやこれや
segavvy
2
360
GitHub Copilot のテクニック集/GitHub Copilot Techniques
rayuron
23
11k
Wvlet: A New Flow-Style Query Language For Functional Data Modeling and Interactive Data Analysis - Trino Summit 2024
xerial
1
110
新機能VPCリソースエンドポイント機能検証から得られた考察
duelist2020jp
0
210
Featured
See All Featured
RailsConf 2023
tenderlove
29
940
4 Signs Your Business is Dying
shpigford
181
21k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
1.9k
Building an army of robots
kneath
302
44k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
45
2.2k
Six Lessons from altMBA
skipperchong
27
3.5k
How to train your dragon (web standard)
notwaldorf
88
5.7k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
365
25k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
59k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
127
18k
Making Projects Easy
brettharned
116
5.9k
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