Class: Splot::RSpecCommand
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, #include_args, #initialize, #line_no_arg
Constructor Details
This class inherits a constructor from Splot::Command
Class Method Details
.match?(file) ⇒ Boolean
66 67 68 |
# File 'lib/splot/command.rb', line 66 def self.match?(file) file.match /\_spec\.rb\Z/ end |
Instance Method Details
#runner ⇒ Object
70 71 72 |
# File 'lib/splot/command.rb', line 70 def runner 'rspec' end |