Module: MultiJson::Options
Instance Method Summary collapse
- #default_dump_options ⇒ Object
- #default_load_options ⇒ Object
- #dump_options ⇒ Object
- #dump_options=(options) ⇒ Object
- #load_options ⇒ Object
- #load_options=(options) ⇒ Object
Instance Method Details
#default_dump_options ⇒ Object
25 26 27 |
# File 'lib/multi_json/options.rb', line 25 def ||= {}.freeze end |
#default_load_options ⇒ Object
21 22 23 |
# File 'lib/multi_json/options.rb', line 21 def ||= {}.freeze end |
#dump_options ⇒ Object
17 18 19 |
# File 'lib/multi_json/options.rb', line 17 def (*) (defined?() && (, *)) || end |
#dump_options=(options) ⇒ Object
8 9 10 11 |
# File 'lib/multi_json/options.rb', line 8 def () OptionsCache.reset = end |
#load_options ⇒ Object
13 14 15 |
# File 'lib/multi_json/options.rb', line 13 def (*) (defined?() && (, *)) || end |
#load_options=(options) ⇒ Object
3 4 5 6 |
# File 'lib/multi_json/options.rb', line 3 def () OptionsCache.reset = end |