Exception: Servitium::ContextFailure
- Defined in:
- lib/servitium/context_failure.rb
Instance Attribute Summary collapse
-
#context ⇒ Object
readonly
Returns the value of attribute context.
Instance Method Summary collapse
-
#initialize(context) ⇒ ContextFailure
constructor
A new instance of ContextFailure.
Constructor Details
#initialize(context) ⇒ ContextFailure
Returns a new instance of ContextFailure.
7 8 9 10 |
# File 'lib/servitium/context_failure.rb', line 7 def initialize(context) @context = context super(context.errors..join(", ")) end |
Instance Attribute Details
#context ⇒ Object (readonly)
Returns the value of attribute context.
5 6 7 |
# File 'lib/servitium/context_failure.rb', line 5 def context @context end |