Open 0exp opened 4 years ago
SUBJ
PoC:
class Config < Qonfig::DataSet setting :a, 22, as: :b # as: [:b, 'c', :d] end config = Config.new config.a # => 22 config.b # => 22 config.c # => 22 config.d # => 22 config[:a] = 45 cofig.b # => 45 # and etc
SUBJ
PoC: