Exception: EnvironmentConfig::Types::TypeError
- Inherits:
-
StandardError
- Object
- StandardError
- EnvironmentConfig::Types::TypeError
- Defined in:
- lib/environment_config/types/type_error.rb
Instance Attribute Summary collapse
-
#expected_message ⇒ Object
readonly
Returns the value of attribute expected_message.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(expected_message, value) ⇒ TypeError
constructor
A new instance of TypeError.
Constructor Details
#initialize(expected_message, value) ⇒ TypeError
Returns a new instance of TypeError.
8 9 10 11 12 13 |
# File 'lib/environment_config/types/type_error.rb', line 8 def initialize(, value) = @value = value super() end |
Instance Attribute Details
#expected_message ⇒ Object (readonly)
Returns the value of attribute expected_message.
6 7 8 |
# File 'lib/environment_config/types/type_error.rb', line 6 def end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
6 7 8 |
# File 'lib/environment_config/types/type_error.rb', line 6 def value @value end |