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