Module: Representable
- Included in:
- Decorator
- Defined in:
- 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/deprecations.rb,
 lib/representable/deserializer.rb,
 lib/representable/hash_methods.rb,
 lib/representable/bindings/xml_bindings.rb,
 lib/representable/bindings/hash_bindings.rb,
 lib/representable/bindings/yaml_bindings.rb,
 lib/representable/feature/readable_writeable.rb
Defined Under Namespace
Modules: ClassInclusions, ClassMethods, Coercion, DSLAdditions, Deprecations, Feature, Hash, HashMethods, JSON, ModuleExtensions, XML, YAML Classes: Binding, CollectionDeserializer, Config, Decorator, Definition, Mapper, ObjectDeserializer, ObjectSerializer
Constant Summary collapse
- VERSION =
- "1.7.5"
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
| 7 8 9 | # File 'lib/representable.rb', line 7 def representable_attrs=(value) @representable_attrs = value end | 
Class Method Details
.included(base) ⇒ Object
| 9 10 11 12 13 14 15 16 17 18 | # File 'lib/representable.rb', line 9 def self.included(base) base.class_eval do extend ClassInclusions, ModuleExtensions extend ClassMethods extend ClassMethods::Declarations extend DSLAdditions include Deprecations end end |