Module: MultiJson::Options
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
24 25 26 |
# File 'lib/multi_json/options.rb', line 24 def @default_dump_options ||= {} end |
#default_load_options ⇒ Object
20 21 22 |
# File 'lib/multi_json/options.rb', line 20 def @default_load_options ||= {} end |
#dump_options(*args) ⇒ Object
16 17 18 |
# File 'lib/multi_json/options.rb', line 16 def (*args) defined?(@dump_options) && (@dump_options, *args) || end |
#dump_options=(options) ⇒ Object
8 9 10 |
# File 'lib/multi_json/options.rb', line 8 def () @dump_options = end |
#load_options(*args) ⇒ Object
12 13 14 |
# File 'lib/multi_json/options.rb', line 12 def (*args) defined?(@load_options) && (@load_options, *args) || end |
#load_options=(options) ⇒ Object
4 5 6 |
# File 'lib/multi_json/options.rb', line 4 def () @load_options = end |