Exception: Monolens::LensError
- Defined in:
- lib/monolens/error.rb
Instance Attribute Summary collapse
-
#location ⇒ Object
readonly
Returns the value of attribute location.
Instance Method Summary collapse
-
#initialize(message, location = []) ⇒ LensError
constructor
A new instance of LensError.
Constructor Details
#initialize(message, location = []) ⇒ LensError
Returns a new instance of LensError.
7 8 9 10 |
# File 'lib/monolens/error.rb', line 7 def initialize(, location = []) super() @location = location end |
Instance Attribute Details
#location ⇒ Object (readonly)
Returns the value of attribute location.
11 12 13 |
# File 'lib/monolens/error.rb', line 11 def location @location end |