Skip to content

Latest commit

 

History

History
72 lines (25 loc) · 820 Bytes

ClassMethods.rst

File metadata and controls

72 lines (25 loc) · 820 Bytes

ClassMethods

Constants

Files

Methods

#inherit_serialized_properties

def inherit_serialized_properties(other)
  other.serialized_properties = self.serialized_properties
end

#inherited

def inherited(other)
  inherit_serialized_properties(other) if self.respond_to?(:serialized_properties)
  super
end