Class: Victor::SVG

Inherits:
SVGBase show all
Defined in:
lib/victor/svg.rb

Instance Attribute Summary

Attributes inherited from SVGBase

#content, #glue, #svg_attributes, #template

Instance Method Summary collapse

Methods inherited from SVGBase

#<<, #build, #css, #css=, #element, #initialize, #render, #save, #setup, #to_s

Constructor Details

This class inherits a constructor from Victor::SVGBase

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(method_sym, *arguments, &block) ⇒ Object



3
4
5
# File 'lib/victor/svg.rb', line 3

def method_missing(method_sym, *arguments, &block)
  element method_sym, *arguments, &block
end