Exception: RStyx::TagInUseException
- Inherits:
-
StyxException
- Object
- RuntimeError
- StyxException
- RStyx::TagInUseException
- Defined in:
- lib/rstyx/errors.rb
Overview
Tag in use exception, raised when a tag already in use is reallocated.
Instance Attribute Summary collapse
-
#tag ⇒ Object
Returns the value of attribute tag.
Instance Method Summary collapse
-
#initialize(tag) ⇒ TagInUseException
constructor
A new instance of TagInUseException.
- #message ⇒ Object
Constructor Details
#initialize(tag) ⇒ TagInUseException
Returns a new instance of TagInUseException.
58 59 60 |
# File 'lib/rstyx/errors.rb', line 58 def initialize(tag) @tag = tag end |
Instance Attribute Details
#tag ⇒ Object
Returns the value of attribute tag.
56 57 58 |
# File 'lib/rstyx/errors.rb', line 56 def tag @tag end |
Instance Method Details
#message ⇒ Object
62 63 64 |
# File 'lib/rstyx/errors.rb', line 62 def return("Tag #{@tag} is already in use.") end |