Method: Spec::HashWithDeprecationNotice#initialize

Defined in:
lib/spec/deprecation.rb

#initialize(method, alternate_method = nil, &block) ⇒ HashWithDeprecationNotice

Returns a new instance of HashWithDeprecationNotice.

[View source]

32
33
34
# File 'lib/spec/deprecation.rb', line 32

def initialize(method, alternate_method=nil, &block)
  @method, @alternate_method = method, alternate_method
end