Class: DeprecationToolkit::Behaviors::Record

Inherits:
Object
  • Object
show all
Extended by:
ReadWriteHelper
Defined in:
lib/deprecation_toolkit/behaviors/record.rb

Class Method Summary collapse

Methods included from ReadWriteHelper

read, write

Class Method Details

.trigger(test, collector, _) ⇒ Object



8
9
10
11
12
# File 'lib/deprecation_toolkit/behaviors/record.rb', line 8

def self.trigger(test, collector, _)
  deprecation_file = recorded_deprecations_path(test)

  write(deprecation_file, test_name(test) => collector.deprecations_without_stacktrace)
end