Class: VectorSalad::ExportWithMagic
- Inherits:
-
Object
- Object
- VectorSalad::ExportWithMagic
- Includes:
- DSL, StandardShapes
- Defined in:
- lib/vector_salad/export_with_magic.rb
Instance Method Summary collapse
- #canvas ⇒ Object
- #export ⇒ Object
-
#initialize(options) ⇒ ExportWithMagic
constructor
A new instance of ExportWithMagic.
Methods included from DSL
Constructor Details
#initialize(options) ⇒ ExportWithMagic
Returns a new instance of ExportWithMagic.
13 14 15 16 |
# File 'lib/vector_salad/export_with_magic.rb', line 13 def initialize() @options = @file = .file end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class VectorSalad::DSL
Instance Method Details
#canvas ⇒ Object
18 19 20 |
# File 'lib/vector_salad/export_with_magic.rb', line 18 def canvas @canvas ||= VectorSalad::Canvas.new end |