Class: ROXML::XMLHashRef
- Inherits:
-
XMLTextRef
- Object
- XMLRef
- XMLTextRef
- ROXML::XMLHashRef
- Defined in:
- lib/roxml/xml/references.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#initialize(opts, inst) ⇒ XMLHashRef
constructor
A new instance of XMLHashRef.
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 |