Class: SVG::Verbatim

Inherits:
Object
  • Object
show all
Defined in:
lib/ruby-svg/element.rb

Overview

#

Verbatim Class

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#xmlObject

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_sObject



349
350
351
# File 'lib/ruby-svg/element.rb', line 349

def to_s
  return @xml
end