Class: RSpec::HashWithDeprecationNotice
- Inherits:
-
Hash
- Object
- Hash
- 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.
40 41 42 |
# File 'lib/rspec/core/deprecation.rb', line 40 def initialize(method, alternate_method=nil) @method, @alternate_method = method, alternate_method end |