Class: JsSpec::Resources::SpecFileRunner
- Inherits:
-
SpecRunner
- Object
- SpecRunner
- JsSpec::Resources::SpecFileRunner
- Defined in:
- lib/js_spec/resources/spec_file_runner.rb
Instance Attribute Summary collapse
-
#file ⇒ Object
readonly
Returns the value of attribute file.
Instance Method Summary collapse
-
#initialize(file) ⇒ SpecFileRunner
constructor
A new instance of SpecFileRunner.
- #spec_files ⇒ Object
Methods inherited from SpecRunner
Constructor Details
#initialize(file) ⇒ SpecFileRunner
Returns a new instance of SpecFileRunner.
6 7 8 |
# File 'lib/js_spec/resources/spec_file_runner.rb', line 6 def initialize(file) @file = file end |
Instance Attribute Details
#file ⇒ Object (readonly)
Returns the value of attribute file.
4 5 6 |
# File 'lib/js_spec/resources/spec_file_runner.rb', line 4 def file @file end |
Instance Method Details
#spec_files ⇒ Object
10 11 12 |
# File 'lib/js_spec/resources/spec_file_runner.rb', line 10 def spec_files [file] end |