rubygem/lib/zeus/m/test_collection.rb
# Slice out tests that may be within the given line.
# Returns a new TestCollection with the results.
Slice out tests that may be within the given line.
Returns a new TestCollection with the results.
Slice out tests that may be within the given line . Returns a new TestCollection with the results .
def within(line)
        self.class.new(select do |test|
          line.nil? || (test.start_line..test.end_line).include?(line)
        end)
      end
def within ( line ) self . class . new ( select do | test | line . nil? || ( test . start_line .. test . end_line ) . include? ( line ) end ) end
Slice out tests that may be within the given line.
Slice out tests that may be within the given line .
# Into a new collection, filter only the tests that... # are within the given boundary for this method # or include everything if the line given is nil (no line)
line