Module: Pageflow::SerializationBlacklist Private
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
Instance Method Details
#serializable_hash(options = nil) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
4 5 6 7 8 9 10 11 |
# File 'app/models/concerns/pageflow/serialization_blacklist.rb', line 4 def serializable_hash( = nil) ||= {} [:except] = Array([:except]) [:except].concat(blacklist_for_serialization) super() end |