Exception: CartesianForGeo::VectorsCountError

Inherits:
ArgumentError
  • Object
show all
Defined in:
lib/cartesian_for_geo.rb

Overview

Custom error for Polygon initialization

Instance Method Summary collapse

Instance Method Details

#messageObject



195
196
197
# File 'lib/cartesian_for_geo.rb', line 195

def message
  'You need at least two vectors to initialize the polygon'
end