Exception: NYPLError
- Inherits:
-
StandardError
- Object
- StandardError
- NYPLError
- Defined in:
- lib/errors.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#object ⇒ Object
readonly
Returns the value of attribute object.
Instance Method Summary collapse
-
#initialize(object = '') ⇒ NYPLError
constructor
A new instance of NYPLError.
Constructor Details
#initialize(object = '') ⇒ NYPLError
Returns a new instance of NYPLError.
4 5 6 |
# File 'lib/errors.rb', line 4 def initialize(object='') @object = object end |
Instance Attribute Details
#object ⇒ Object (readonly)
Returns the value of attribute object.
2 3 4 |
# File 'lib/errors.rb', line 2 def object @object end |