Class: ROXML::XMLHashRef

Inherits:
XMLTextRef show all
Defined in:
lib/roxml/xml/references.rb

Overview

:nodoc:

Instance Method Summary collapse

Methods inherited from XMLRef

#name, #to_xml, #update_xml, #value_in, #xpath_name

Constructor Details

#initialize(opts, inst) ⇒ XMLHashRef

Returns a new instance of XMLHashRef.



204
205
206
207
208
# File 'lib/roxml/xml/references.rb', line 204

def initialize(opts, inst)
  super(opts, inst)
  @key = opts.hash.key.to_ref(inst)
  @value = opts.hash.value.to_ref(inst)
end