Class: Win::ServiceErrors::Error
- Inherits:
-
Object
- Object
- Win::ServiceErrors::Error
- Defined in:
- lib/win/service_controller/service_errors.rb
Instance Attribute Summary collapse
-
#error ⇒ Object
readonly
Returns the value of attribute error.
Instance Method Summary collapse
-
#initialize(error) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(error) ⇒ Error
Returns a new instance of Error.
6 7 8 |
# File 'lib/win/service_controller/service_errors.rb', line 6 def initialize(error) @error = error end |
Instance Attribute Details
#error ⇒ Object (readonly)
Returns the value of attribute error.
4 5 6 |
# File 'lib/win/service_controller/service_errors.rb', line 4 def error @error end |