class Cucumber::Core::Ast::Location::Lines

def at_index(idx)

def at_index(idx)
  data.to_a[idx]
end

def boundary

def boundary
  first_and_last(value).uniq
end

def first_and_last(something)

def first_and_last(something)
  [0, -1].map(&something)
end

def include?(other)

def include?(other)
  return true if (data|other.data).include?(WILDCARD)
  other.data.subset?(data) || data.subset?(other.data)
end

def initialize(raw_data)

def initialize(raw_data)
  if Cucumber::JRUBY && raw_data.is_a?(::Java::GherkinFormatterModel::Range)
    raw_data = Range.new(raw_data.first, raw_data.last)
  end
  super Array(raw_data).to_set
  @line = data.first
end

def inspect

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

def to_s

def to_s
  boundary.join('..')
end

def value

def value
  method :at_index
end