Method: Blacklight::NestedOpenStructWithHashAccess#marshal_dump

Defined in:
lib/blacklight/nested_open_struct_with_hash_access.rb

#marshal_dumpObject

Before serializing, we need to reset the default proc so it can be serialized appropriately



47
48
49
50
51
52
# File 'lib/blacklight/nested_open_struct_with_hash_access.rb', line 47

def marshal_dump
  h = to_h.dup
  h.default = nil

  [nested_class, h]
end