Method: Rspeckled::Reporting::Outputs::Text#initialize
- Defined in:
- lib/rspeckled/reporting/outputs/text.rb
#initialize ⇒ Text
Returns a new instance of Text.
27 28 29 30 31 |
# File 'lib/rspeckled/reporting/outputs/text.rb', line 27 def initialize FileUtils.mkdir_p('log') self.output = File.open('log/rspec_report.txt', 'a') end |