Sha256: e2465474a714524259b91a124835cf5d37b73f7a5b9993f51fdc3384e6e1aebf
Contents?: true
Size: 327 Bytes
Versions: 10
Compression:
Stored size: 327 Bytes
Contents
require 'forwardable' module JustGo # = Territory # # A collection of Points with the same territory id class Territory extend Forwardable def initialize(points: []) @points = points end attr_reader :points def_delegator :points, :include? def_delegator :points, :size end end
Version data entries
10 entries across 10 versions & 1 rubygems