Method: Inspector#save
- Defined in:
- lib/inspector.rb
#save(path = nil) ⇒ Object
73 74 75 76 77 78 79 |
# File 'lib/inspector.rb', line 73 def save(path = nil) path = File.join(@setting.archive_path, INSPECT_LOG_NAME) if path.nil? open(path, "w") do |fp| fp.puts "--- ログ出力 #{Time.now} ---" display(ALL, fp) end end |