Class: RSVGR::Script
- Inherits:
-
CanIHazChildren
- Object
- Node
- CanIHazChildren
- RSVGR::Script
- Defined in:
- lib/rsvgr.rb
Instance Method Summary collapse
Methods inherited from CanIHazChildren
#<<, #initialize, #save_as, #to_s_children
Methods inherited from Node
Constructor Details
This class inherits a constructor from RSVGR::CanIHazChildren
Instance Method Details
#to_s ⇒ Object
128 129 130 131 132 133 |
# File 'lib/rsvgr.rb', line 128 def to_s "<script" \ " type=\"text/ecmascript\"" \ "#{" id=\"#{@id}\"" if @id}" \ "><![CDATA[\n" + to_s_children + "]]></script>\n" end |