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.
- #several? ⇒ Boolean
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.
210 211 212 213 214 |
# File 'lib/roxml/xml/references.rb', line 210 def initialize(opts, inst) super(opts, inst) @key = opts.hash.key.to_ref(inst) @value = opts.hash.value.to_ref(inst) end |
Instance Method Details
#several? ⇒ Boolean
216 217 218 |
# File 'lib/roxml/xml/references.rb', line 216 def several? true end |