Class: REXML::Element

Inherits:
Object show all
Defined in:
lib/rubyvis/scene/svg_scene.rb

Overview

:nodoc:

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#_sceneObject

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