Sha256: fcdb11292fe11ff9f7f6bc4bd1ae8c14b157c561586c2023a4dda333d456fb9c

Contents?: true

Size: 251 Bytes

Versions: 3

Compression:

Stored size: 251 Bytes

Contents

class Range
  # A thing really should know itself.
  # This simply returns _self_.
  #
  # Note: This does not internally effect the Ruby 
  # interpretor such that it can coerce Range-like 
  # objects into a Range.
  def to_range
    self
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
facets-0.7.0 lib/facet/range/to_range.rb
facets-0.7.1 lib/facet/range/to_range.rb
facets-0.7.2 lib/facet/range/to_range.rb