Class: RSpec::Core::Example::ExecutionResult
- Inherits:
-
Object
- Object
- RSpec::Core::Example::ExecutionResult
- Defined in:
- opal/opal/rspec/fixes/rspec/core/example.rb
Overview
https://github.com/opal/opal/issues/1126 Hash.public_instance_methods - Object.public_instance_methods, which is a part of metadata.rb/HashImitatable (included by ExecutionResult), returns the initialize method, which gets marked as deprecated. The intent of the issue_deprecation method though is to shift people away from using this as a hash. Initialize obviously is not indicative of hash usage (any new object will trip this up, and that should not happen).
Instance Method Summary collapse
-
#initialize ⇒ ExecutionResult
constructor
There is no real constructor to preserve in example.rb's ExecutionResult class, so can eliminate the issue_deprecation call this way.
Constructor Details
#initialize ⇒ ExecutionResult
There is no real constructor to preserve in example.rb's ExecutionResult class, so can eliminate the issue_deprecation call this way
18 |
# File 'opal/opal/rspec/fixes/rspec/core/example.rb', line 18 def initialize; end |