Method: RSpec::Core::Notifications::DeprecationNotification#replacement

Defined in:
lib/rspec/core/notifications.rb

#replacementString

An optional replacement for the deprecation

Returns:

  • (String)

    the current value of replacement

[View source]

493
494
495
# File 'lib/rspec/core/notifications.rb', line 493

def replacement
  @replacement
end