Module: Representable::XML::Hash
- Includes:
- HashMethods, Representable::XML
- Defined in:
- lib/representable/xml/hash.rb
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Instance Method Summary collapse
Methods included from HashMethods
#create_representation_with, #representable_attrs, #update_properties_from
Methods included from Representable::XML
binding_for_definition, #from_node, #from_xml, #to_node, #to_xml
Class Method Details
.included(base) ⇒ Object
32 33 34 35 36 37 |
# File 'lib/representable/xml/hash.rb', line 32 def self.included(base) base.class_eval do include Representable extend ClassMethods end end |
Instance Method Details
#definition_opts ⇒ Object
47 48 49 |
# File 'lib/representable/xml/hash.rb', line 47 def definition_opts [:_self, {:hash => true}] end |