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.
5 6 7 8 |
# File 'lib/monolens/error.rb', line 5 def initialize(, location = []) super() @location = location end |
Instance Attribute Details
#location ⇒ Object (readonly)
Returns the value of attribute location.
9 10 11 |
# File 'lib/monolens/error.rb', line 9 def location @location end |