class Guard::RSpecFormatterResultsPath
Just a wrapper class for the results file filename
Constants
- NO_ENV_WARNING_MSG
- NO_RESULTS_VALUE_MSG
- WIKI_ENV_WARN_URL
Attributes
path[R]
Public Class Methods
new()
click to toggle source
# File lib/guard/rspec_formatter_results_path.rb, line 18 def initialize path = ENV["GUARD_RSPEC_RESULTS_FILE"] if path.nil? STDERR.puts("Guard::RSpec: Warning: #{NO_ENV_WARNING_MSG}\n" \ "Guard::RSpec: Warning: #{NO_RESULTS_VALUE_MSG}") path = RSpecDefaults::TEMPORARY_FILE_PATH end @path = File.expand_path(path) end