Class: Cucumber::FileSpecs
- Inherits:
-
Object
- Object
- Cucumber::FileSpecs
- Defined in:
- lib/cucumber/file_specs.rb
Defined Under Namespace
Classes: FileSpec
Constant Summary collapse
- FILE_COLON_LINE_PATTERN =
:nodoc:
/^([\w\W]*?)(?::([\d:]+))?$/.freeze
Instance Method Summary collapse
- #files ⇒ Object
-
#initialize(file_specs) ⇒ FileSpecs
constructor
A new instance of FileSpecs.
- #locations ⇒ Object
Constructor Details
Instance Method Details
#files ⇒ Object
20 21 22 |
# File 'lib/cucumber/file_specs.rb', line 20 def files @file_specs.map(&:file).uniq end |
#locations ⇒ Object
16 17 18 |
# File 'lib/cucumber/file_specs.rb', line 16 def locations @file_specs.map(&:locations).flatten end |