Class: SvgOptimizer::Plugins::Base
- Inherits:
-
Object
- Object
- SvgOptimizer::Plugins::Base
- Defined in:
- lib/svg_optimizer/plugins/base.rb
Direct Known Subclasses
CleanupAttribute, CleanupId, RemoveComment, RemoveDescription, RemoveEditorNamespace, RemoveEmptyAttribute, RemoveEmptyContainer, RemoveEmptyTextNode, RemoveHiddenElement, RemoveMetadata, RemoveRasterImage, RemoveTitle, RemoveUnusedNamespace, RemoveUselessStrokeAndFill
Instance Attribute Summary collapse
-
#xml ⇒ Object
readonly
Returns the value of attribute xml.
Instance Method Summary collapse
-
#initialize(xml) ⇒ Base
constructor
A new instance of Base.
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
#xml ⇒ Object (readonly)
Returns the value of attribute xml.
6 7 8 |
# File 'lib/svg_optimizer/plugins/base.rb', line 6 def xml @xml end |