module Representable::XML::AttributeHash
Public Class Methods
Source
# File lib/representable/xml/hash.rb, line 9 def self.included(base) base.class_eval do include Representable extend ClassMethods property(:_self, hash: true, use_attributes: true) end end
Public Instance Methods
Source
# File lib/representable/xml/hash.rb, line 24 def create_representation_with(doc, options, format) bin = representable_bindings_for(format, options).first bin.write(doc, super, options) end
Calls superclass method
Representable#create_representation_with