Sha256: 485e2d10307a6dc31f0c4af2e964fafb45c705483a5ee7cf9d1c446e52eec9b4

Contents?: true

Size: 205 Bytes

Versions: 4

Compression:

Stored size: 205 Bytes

Contents

# encoding: utf-8

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mixture-0.4.0 lib/mixture/types/range.rb
mixture-0.3.6 lib/mixture/types/range.rb
mixture-0.3.5 lib/mixture/types/range.rb
mixture-0.3.4 lib/mixture/types/range.rb