In Files

Parent

Methods

Class/Module Index [+]

Quicksearch

Range

Public Instance Methods

size() click to toggle source

only valid for integer ranges (unless I guess it's exclusive)

# File lib/sup/util.rb, line 95
def size
  last - first + (exclude_end? ? 0 : 1)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.