Class: Splot::CucumberCommand
Instance Attribute Summary
Attributes inherited from Command
#file, #include_path, #line_no, #preloader
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Command
#command, #file_arg, for, #initialize, #line_no_arg
Constructor Details
This class inherits a constructor from Splot::Command
Class Method Details
.match?(file) ⇒ Boolean
51 52 53 |
# File 'lib/splot/command.rb', line 51 def self.match?(file) file.match %r{\.feature\Z} end |
Instance Method Details
#include_args ⇒ Object
55 56 57 58 |
# File 'lib/splot/command.rb', line 55 def include_args return super if include_path.nil? raise ArgumentError, "Cucumber does not support include arguments" end |
#runner ⇒ Object
60 61 62 |
# File 'lib/splot/command.rb', line 60 def runner 'cucumber' end |