Class: Cucumber::FileSpecs
Defined Under Namespace
Classes: FileSpec
Constant Summary collapse
- FILE_COLON_LINE_PATTERN =
:nodoc:
/^([\w\W]*?)(?::([\d:]+))?$/
Instance Method Summary collapse
- #files ⇒ Object
-
#initialize(file_specs) ⇒ FileSpecs
constructor
A new instance of FileSpecs.
- #locations ⇒ Object
Constructor Details
#initialize(file_specs) ⇒ FileSpecs
Returns a new instance of FileSpecs.
8 9 10 11 12 |
# File 'lib/cucumber/file_specs.rb', line 8 def initialize(file_specs) Cucumber.logger.debug("Objectives:\n") @file_specs = file_specs.map { |s| FileSpec.new(s) } Cucumber.logger.debug("\n") end |