Sha256: a4e02f5319857a1036e414852035fbb70f8f72fed171b82cb4ed2627e6bd4396

Contents?: true

Size: 220 Bytes

Versions: 5

Compression:

Stored size: 220 Bytes

Contents

# encoding: utf-8

module Mixture
  module Types
    # The range type.
    class Range < Enumerable
      register
      options[:primitive] = ::Range
      options[:method] = :to_range
      as :range
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
mixture-0.6.2 lib/mixture/types/range.rb
mixture-0.6.1 lib/mixture/types/range.rb
mixture-0.6.0 lib/mixture/types/range.rb
mixture-0.5.1 lib/mixture/types/range.rb
mixture-0.5.0 lib/mixture/types/range.rb