class Oncall::TestFile
Attributes
file[R]
Public Class Methods
new(file)
click to toggle source
# File lib/oncall/test_file.rb, line 5 def initialize(file) @file = file end
Public Instance Methods
run(reporter)
click to toggle source
# File lib/oncall/test_file.rb, line 9 def run(reporter) Oncall::DSL.new(self, reporter).instance_eval File.read(file) end