Class: RSpec::Core::Formatters::DeprecationFormatter::SpecifiedDeprecationMessage
- Defined in:
- lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rspec-core-3.12.0/lib/rspec/core/formatters/deprecation_formatter.rb
Instance Attribute Summary collapse
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(data) ⇒ SpecifiedDeprecationMessage
constructor
A new instance of SpecifiedDeprecationMessage.
- #to_s ⇒ Object
- #too_many_warnings_message ⇒ Object
Methods inherited from Struct
Constructor Details
#initialize(data) ⇒ SpecifiedDeprecationMessage
Returns a new instance of SpecifiedDeprecationMessage.
67 68 69 70 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rspec-core-3.12.0/lib/rspec/core/formatters/deprecation_formatter.rb', line 67 def initialize(data) @message = data. super deprecation_type_for(data) end |
Instance Attribute Details
#type ⇒ Object
Returns the value of attribute type
66 67 68 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rspec-core-3.12.0/lib/rspec/core/formatters/deprecation_formatter.rb', line 66 def type @type end |
Instance Method Details
#to_s ⇒ Object
72 73 74 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rspec-core-3.12.0/lib/rspec/core/formatters/deprecation_formatter.rb', line 72 def to_s output_formatted @message end |
#too_many_warnings_message ⇒ Object
76 77 78 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rspec-core-3.12.0/lib/rspec/core/formatters/deprecation_formatter.rb', line 76 def TOO_MANY_WARNINGS_NOTICE end |