lib/arstotzka/config.rb in arstotzka-1.5.0 vs lib/arstotzka/config.rb in arstotzka-1.6.0
- old
+ new
@@ -55,11 +55,12 @@
compact: false,
default: nil,
flatten: false,
json: :json,
klass: nil,
- type: :none
+ type: :none,
+ before: nil
}.freeze
add_configs DEFAULT_CONFIGS
# @api private
@@ -91,10 +92,14 @@
# # compact: false,
# # default: nil,
# # flatten: false,
# # json: :json,
# # klass: Person,
- # # type: :none
+ # # type: :none,
+ # # full_path: nil,
+ # # key: nil,
+ # # instance: nil,
+ # # befor: nil
# # }
def options(options_hash = {})
Options.new(
to_hash.symbolize_keys.merge(
options_hash.symbolize_keys