Method: RubyPitaya::Parameters.hook_into_yaml_loading

Defined in:
lib/rubypitaya/core/parameters.rb

.hook_into_yaml_loadingObject



333
334
335
336
# File 'lib/rubypitaya/core/parameters.rb', line 333

def self.hook_into_yaml_loading
  YAML.load_tags["!ruby/hash-with-ivars:ActionController::Parameters"] = name
  YAML.load_tags["!ruby/hash:ActionController::Parameters"] = name
end