Sha256: 94c24ce5b53c3c025b6ddde5147cc7cc373acf83d7be152b34436515848ef1e7

Contents?: true

Size: 625 Bytes

Versions: 1

Compression:

Stored size: 625 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

1 entries across 1 versions & 1 rubygems

Version Path
squib-0.9.0 lib/squib/args/coords.rb