module LibBin::RangeRefinement

Public Instance Methods

+(other) click to toggle source
# File lib/libbin/data_types.rb, line 5
def +(other)
  Range::new(first <= other.first ? first : other.first,
             last >= other.last ? last : other.last,
             exclude_end?)
end