Slide 1

Slide 1 text

> < FOOTNOTE TEXT NOBODY READS WRITING CONFIG FILES IN RUBY @ARNVALD, RUBYCONFTW 2018 1

Slide 2

Slide 2 text

CONFIG FILES? next 2

Slide 3

Slide 3 text

BORING!!! next 3

Slide 4

Slide 4 text

just use JSON / YAML / XML or store it in the db next 4

Slide 5

Slide 5 text

configuration is static next 5

Slide 6

Slide 6 text

what if it has to be dynamic? next 6

Slide 7

Slide 7 text

is it still configuration? next 7

Slide 8

Slide 8 text

gem 'simple_configuration' next 8

Slide 9

Slide 9 text

github: arnvald/simple_configuration next 9

Slide 10

Slide 10 text

Challenge time! next 10

Slide 11

Slide 11 text

> < STILL NOTHING TO SEE HERE 11 MISSING_VALUE = '__missing_value__' def config( config_name, default_value = MISSING_VALUE, &default_value_blk )

Slide 12

Slide 12 text

> < STILL NOTHING TO SEE HERE 12 engineering.kaligo.com