Class: RailsErrorDashboard::ManualErrorReporter::SyntheticException::MockClass Private
- Inherits:
-
Object
- Object
- RailsErrorDashboard::ManualErrorReporter::SyntheticException::MockClass
- Defined in:
- lib/rails_error_dashboard/manual_error_reporter.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
MockClass: A simple class-like object for error typing
Instance Method Summary collapse
-
#initialize(error_type) ⇒ MockClass
constructor
private
A new instance of MockClass.
- #name ⇒ Object private
- #to_s ⇒ Object private
Constructor Details
#initialize(error_type) ⇒ MockClass
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of MockClass.
150 151 152 |
# File 'lib/rails_error_dashboard/manual_error_reporter.rb', line 150 def initialize(error_type) @error_type = error_type end |
Instance Method Details
#name ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
154 155 156 |
# File 'lib/rails_error_dashboard/manual_error_reporter.rb', line 154 def name @error_type end |
#to_s ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
158 159 160 |
# File 'lib/rails_error_dashboard/manual_error_reporter.rb', line 158 def to_s @error_type end |