Class: RSpec::HashWithDeprecationNotice
- Defined in:
- lib/rspec/core/deprecation.rb
Instance Method Summary collapse
- #[]=(k, v) ⇒ Object
-
#initialize(method, alternate_method = nil) ⇒ HashWithDeprecationNotice
constructor
A new instance of HashWithDeprecationNotice.
Constructor Details
#initialize(method, alternate_method = nil) ⇒ HashWithDeprecationNotice
Returns a new instance of HashWithDeprecationNotice.
34 35 36 |
# File 'lib/rspec/core/deprecation.rb', line 34 def initialize(method, alternate_method=nil) @method, @alternate_method = method, alternate_method end |