Ruby 1.9.3 Reference Manual > All Libraries > Builtin Library > class Range > new
new(first, last, exclude_end = false) -> Range
first から last までの範囲オブジェクトを生成して返しま す。
exclude_end が真ならば終端を含まない範囲オブジェクトを生 成します。exclude_end 省略時には終端を含みます。