Module: Gamefic::Serialized

Included in:
Entity
Defined in:
lib/gamefic/serialized.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object



20
21
22
# File 'lib/gamefic/serialized.rb', line 20

def self.included(base)
  base.extend(Gamefic::Serialized::ClassMethods)
end

Instance Method Details

#serialized_attributesObject



3
4
5
# File 'lib/gamefic/serialized.rb', line 3

def serialized_attributes
  self.class.serializer.keys
end