Sha256: 4b726d75e8098502a586d57b64f164eac87f676203d9cdda23bbc75c45c221a9
Contents?: true
Size: 348 Bytes
Versions: 9
Compression:
Stored size: 348 Bytes
Contents
module RCAP module CAP_1_2 # A Polygon object is valid if # * it has a minimum of three points # * each Point object in the points collection is valid class Polygon < RCAP::Base::Polygon validates_length_of( :points, :minimum => 4 ) # @return [Class] def point_class Point end end end end
Version data entries
9 entries across 9 versions & 1 rubygems