Module: Representable
- Included in:
- Decorator
- Defined in:
- lib/representable.rb,
lib/representable.rb,
lib/representable/xml.rb,
lib/representable/hash.rb,
lib/representable/json.rb,
lib/representable/yaml.rb,
lib/representable/config.rb,
lib/representable/mapper.rb,
lib/representable/binding.rb,
lib/representable/version.rb,
lib/representable/decorator.rb,
lib/representable/definition.rb,
lib/representable/serializer.rb,
lib/representable/deserializer.rb,
lib/representable/hash_methods.rb,
lib/representable/parse_strategies.rb,
lib/representable/hash/allow_symbols.rb,
lib/representable/readable_writeable.rb,
lib/representable/bindings/xml_bindings.rb,
lib/representable/bindings/hash_bindings.rb,
lib/representable/bindings/yaml_bindings.rb
Defined Under Namespace
Modules: ClassInclusions, ClassMethods, Coercion, DSLAdditions, Hash, HashMethods, JSON, ModuleExtensions, ReadableWriteable, XML, YAML Classes: Binding, CollectionDeserializer, Config, Decorator, Definition, Mapper, ObjectDeserializer, ObjectSerializer, ParseStrategy
Constant Summary collapse
- VERSION =
"1.8.1"
Instance Attribute Summary collapse
-
#representable_attrs ⇒ Object
writeonly
Sets the attribute representable_attrs.
Class Method Summary collapse
Instance Attribute Details
#representable_attrs=(value) ⇒ Object
Sets the attribute representable_attrs
6 7 8 |
# File 'lib/representable.rb', line 6 def representable_attrs=(value) @representable_attrs = value end |
Class Method Details
.included(base) ⇒ Object
8 9 10 11 12 13 14 15 |
# File 'lib/representable.rb', line 8 def self.included(base) base.class_eval do extend ClassInclusions, ModuleExtensions extend ClassMethods extend ClassMethods::Declarations extend DSLAdditions end end |