Exception: Isomorphic::InvalidLens
- Inherits:
-
LensError
- Object
- StandardError
- IsomorphicError
- LensError
- Isomorphic::InvalidLens
- Defined in:
- lib/isomorphic/lens.rb
Overview
Raised when an Isomorphic lens is invalid.
Instance Attribute Summary collapse
-
#lens ⇒ Object
readonly
Returns the value of attribute lens.
Attributes inherited from IsomorphicError
Instance Method Summary collapse
-
#initialize(message = nil, lens) ⇒ InvalidLens
constructor
Default constructor.
Constructor Details
#initialize(message = nil, lens) ⇒ InvalidLens
Default constructor.
24 25 26 27 28 |
# File 'lib/isomorphic/lens.rb', line 24 def initialize( = nil, lens) super() @lens = lens end |
Instance Attribute Details
#lens ⇒ Object (readonly)
Returns the value of attribute lens.
18 19 20 |
# File 'lib/isomorphic/lens.rb', line 18 def lens @lens end |