Class: SvgOptimizer::Plugins::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/svg_optimizer/plugins/base.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(xml) ⇒ Base

Returns a new instance of Base.



8
9
10
# File 'lib/svg_optimizer/plugins/base.rb', line 8

def initialize(xml)
  @xml = xml
end

Instance Attribute Details

#xmlObject (readonly)

Returns the value of attribute xml.



6
7
8
# File 'lib/svg_optimizer/plugins/base.rb', line 6

def xml
  @xml
end