class RSpec::Core::Notifications::DeprecationNotification
Public Class Methods
Source
# File lib/rspec/core/notifications.rb, line 499 def self.from_hash(data) new data[:deprecated], data[:message], data[:replacement], data[:call_site] end
@api Convenience way to initialize the notification