Exception: Phronomy::GuardrailError
- Defined in:
- lib/phronomy.rb
Instance Attribute Summary collapse
-
#guardrail ⇒ Object
readonly
Returns the value of attribute guardrail.
Instance Method Summary collapse
-
#initialize(message, guardrail: nil) ⇒ GuardrailError
constructor
A new instance of GuardrailError.
Constructor Details
#initialize(message, guardrail: nil) ⇒ GuardrailError
Returns a new instance of GuardrailError.
33 34 35 36 |
# File 'lib/phronomy.rb', line 33 def initialize(, guardrail: nil) super() @guardrail = guardrail end |
Instance Attribute Details
#guardrail ⇒ Object (readonly)
Returns the value of attribute guardrail.
31 32 33 |
# File 'lib/phronomy.rb', line 31 def guardrail @guardrail end |