Sha256: 6b3af84b771630e58ccbae8579d677564cd8709fc04b923a3350f55b01727b80

Contents?: true

Size: 431 Bytes

Versions: 1

Compression:

Stored size: 431 Bytes

Contents

class SiteHub
  class Collection
    class SplitRouteCollection < Collection
      class Split
        attr_reader :upper, :lower
        attr_accessor :value

        def initialize(lower, upper, value)
          @upper = upper
          @lower = lower
          @value = value
        end

        def ==(other)
          other.is_a?(Split) && other.lower == lower && other.upper == upper
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sitehub-0.4.3 lib/sitehub/collection/split_route_collection/split.rb