Module: Property::Serialization::YAML

Extended by:
Encoder
Includes:
Encoder
Defined in:
lib/property/serialization/yaml.rb

Overview

Use YAML to encode properties. This method is the slowest of all and you should use JSON if you haven’t got good reasons not to.

Defined Under Namespace

Modules: Encoder

Class Method Summary collapse

Methods included from Encoder

decode_properties, encode_properties

Class Method Details

.included(base) ⇒ Object



6
7
8
# File 'lib/property/serialization/yaml.rb', line 6

def self.included(base)
  base.extend Encoder
end