module SVGPlot

SVG generation module

Define additional spec pieces outside the generated data

rubocop:disable Metrics/ParameterLists

Constants

POINT_LAMBDA

Generic lambda for adding points, used below

SVG_ALIAS

Aliases for common tags

SVG_ELEMENTS

rubocop:disable SpaceAroundOperators rubocop:disable SpaceInsideHashLiteralBraces rubocop:disable HashSyntax

SVG_EXPANSION

Expansion definitions for unnamed args

SVG_STRUCTURE

Public Class Methods

new(*args, &block) click to toggle source

Add .new() helper for creating a new Plot object

# File lib/svgplot.rb, line 8
def new(*args, &block)
  self::Plot.new(*args, &block)
end