class Cucumber::Unit

Public Class Methods

new(step_collection) click to toggle source
# File lib/cucumber/unit.rb, line 5
def initialize(step_collection)
  @step_collection = step_collection
end

Public Instance Methods

step_count() click to toggle source
# File lib/cucumber/unit.rb, line 9
def step_count
  @step_collection.length
end