Class: SVG::Verbatim
- Inherits:
-
Object
- Object
- SVG::Verbatim
- Defined in:
- lib/ruby-svg/element.rb
Overview
#
Verbatim Class
Instance Attribute Summary collapse
-
#xml ⇒ Object
Returns the value of attribute xml.
Instance Method Summary collapse
-
#initialize(xml) ⇒ Verbatim
constructor
A new instance of Verbatim.
- #to_s ⇒ Object
Constructor Details
#initialize(xml) ⇒ Verbatim
Returns a new instance of Verbatim.
343 344 345 |
# File 'lib/ruby-svg/element.rb', line 343 def initialize(xml) @xml = xml end |
Instance Attribute Details
#xml ⇒ Object
Returns the value of attribute xml.
347 348 349 |
# File 'lib/ruby-svg/element.rb', line 347 def xml @xml end |
Instance Method Details
#to_s ⇒ Object
349 350 351 |
# File 'lib/ruby-svg/element.rb', line 349 def to_s return @xml end |