Sha256: 4c57f347cb070afdfcdf73e806d19283353b974628bcfe8ae7c9e7b64aece629

Contents?: true

Size: 593 Bytes

Versions: 2

Compression:

Stored size: 593 Bytes

Contents

require 'squib/args/arg_loader'

module Squib
  # @api private
  module Args

    class Coords
      include ArgLoader

      def self.parameters
        { x: 0,    y: 0,
          x1: 100, y1: 100,
          x2: 150, y2: 150,
          x3: 100, y3: 150,
          cx1: 0 , cy1: 0,
          cx2: 0 , cy2: 0,
          inner_radius: 50, outer_radius: 100,
          radius: 100,
          n: 5, }
      end

      def self.expanding_parameters
        parameters.keys # all of them
      end

      def self.params_with_units
        parameters.keys # all of them
      end

    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
squib-0.8.0 lib/squib/args/coords.rb
squib-0.7.0 lib/squib/args/coords.rb