class Cucumber::Core::Test::Location::Lines

def +(other)

def +(other)
  new_data = data + other.data
  self.class.new(new_data)
end

def first

def first
  data.first
end

def include?(other)

def include?(other)
  other.data.subset?(data) || data.subset?(other.data)
end

def initialize(raw_data)

def initialize(raw_data)
  super Array(raw_data).to_set
end

def inspect

def inspect
  "<#{self.class}: #{self}>"
end

def max

def max
  data.max
end

def min

def min
  data.min
end

def range?

def range?
  data.size == (data.max - data.min + 1)
end

def to_s

def to_s
  return first.to_s if data.length == 1
  return "#{data.min}..#{data.max}" if range?
  data.to_a.join(":")
end