Class: REXML::Element
Overview
:nodoc:
Instance Attribute Summary collapse
-
#_scene ⇒ Object
Returns the value of attribute _scene.
Instance Method Summary collapse
-
#get_element(i) ⇒ Object
1 number based.
- #set_attributes(h) ⇒ Object
Instance Attribute Details
#_scene ⇒ Object
Returns the value of attribute _scene.
13 14 15 |
# File 'lib/rubyvis/scene/svg_scene.rb', line 13 def _scene @_scene end |
Instance Method Details
#get_element(i) ⇒ Object
1 number based
15 16 17 |
# File 'lib/rubyvis/scene/svg_scene.rb', line 15 def get_element(i) elements[i] end |
#set_attributes(h) ⇒ Object
18 19 20 21 22 |
# File 'lib/rubyvis/scene/svg_scene.rb', line 18 def set_attributes(h) h.each do |k,v| attributes[k]=v end end |