Class: Svgle::Shape

Inherits:
Object
  • Object
show all
Defined in:
lib/r2dsvg/r2dsvg_module.rb

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ Shape

Returns a new instance of Shape.



28
29
30
31
# File 'lib/r2dsvg/r2dsvg_module.rb', line 28

def initialize(*args)
  super(*args)
  @attr_map ||= {fill: :color}  
end