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.
162 163 164 |
# File 'lib/rails_error_dashboard/manual_error_reporter.rb', line 162 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.
166 167 168 |
# File 'lib/rails_error_dashboard/manual_error_reporter.rb', line 166 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.
170 171 172 |
# File 'lib/rails_error_dashboard/manual_error_reporter.rb', line 170 def to_s @error_type end |