method
new
1.3.0 -
Show latest stable
-
0 notes -
Class: Spec::HashWithDeprecationNotice
- 1.1.4
- 1.1.12
- 1.2.0
- 1.2.8 (0)
- 1.3.0 (0)
- 1.3.1 (0)
- What's this?
new(method, alternate_method=nil, &block)
public
Hide source
# File lib/spec/deprecation.rb, line 33 def initialize(method, alternate_method=nil, &block) @method, @alternate_method = method, alternate_method end