Class: Oncall::TestFile
- Inherits:
-
Object
- Object
- Oncall::TestFile
- Defined in:
- lib/oncall/test_file.rb
Instance Attribute Summary collapse
-
#file ⇒ Object
readonly
Returns the value of attribute file.
Instance Method Summary collapse
-
#initialize(file) ⇒ TestFile
constructor
A new instance of TestFile.
- #run(reporter) ⇒ Object
Constructor Details
#initialize(file) ⇒ TestFile
Returns a new instance of TestFile.
5 6 7 |
# File 'lib/oncall/test_file.rb', line 5 def initialize(file) @file = file end |
Instance Attribute Details
#file ⇒ Object (readonly)
Returns the value of attribute file.
3 4 5 |
# File 'lib/oncall/test_file.rb', line 3 def file @file end |