Exception: Orthoses::ConstLoadError
- Inherits:
-
StandardError
- Object
- StandardError
- Orthoses::ConstLoadError
- Defined in:
- lib/orthoses.rb
Instance Attribute Summary collapse
-
#const ⇒ Object
readonly
Returns the value of attribute const.
-
#error ⇒ Object
readonly
Returns the value of attribute error.
-
#root ⇒ Object
readonly
Returns the value of attribute root.
Instance Method Summary collapse
-
#initialize(root:, const:, error:) ⇒ ConstLoadError
constructor
A new instance of ConstLoadError.
- #message ⇒ Object
Constructor Details
#initialize(root:, const:, error:) ⇒ ConstLoadError
Returns a new instance of ConstLoadError.
47 48 49 50 51 |
# File 'lib/orthoses.rb', line 47 def initialize(root:, const:, error:) @root = root @const = const @error = error end |
Instance Attribute Details
#const ⇒ Object (readonly)
Returns the value of attribute const.
45 46 47 |
# File 'lib/orthoses.rb', line 45 def const @const end |
#error ⇒ Object (readonly)
Returns the value of attribute error.
46 47 48 |
# File 'lib/orthoses.rb', line 46 def error @error end |
#root ⇒ Object (readonly)
Returns the value of attribute root.
44 45 46 |
# File 'lib/orthoses.rb', line 44 def root @root end |
Instance Method Details
#message ⇒ Object
53 54 55 |
# File 'lib/orthoses.rb', line 53 def "root=#{root}, const=#{const}, error=#{error.inspect}" end |