Sha256: fa2c9354cfc0a61aab1d7d175919d042b5523348a9be8836c8d7ac69ff4c2894
Contents?: true
Size: 355 Bytes
Versions: 6
Compression:
Stored size: 355 Bytes
Contents
# frozen_string_literal: true module Jiminy module Recording abort("Jiminy::Recording must be run from a Rails app") unless defined?(Rails) module_function def reset_results_file! Rails.root.join(File.dirname(Jiminy.config.temp_file_location)).mkpath File.write(Jiminy.config.temp_file_location, [].to_yaml) end end end
Version data entries
6 entries across 6 versions & 1 rubygems