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.



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

Returns:

  • (Boolean)


216
217
218
# File 'lib/roxml/xml/references.rb', line 216

def several?
  true
end