Exception: Fortitude::Errors::TagNotFound
- Defined in:
- lib/fortitude/errors.rb
Instance Attribute Summary collapse
-
#tag_name ⇒ Object
readonly
Returns the value of attribute tag_name.
-
#tag_store ⇒ Object
readonly
Returns the value of attribute tag_store.
Instance Method Summary collapse
-
#initialize(tag_store, tag_name) ⇒ TagNotFound
constructor
A new instance of TagNotFound.
Constructor Details
#initialize(tag_store, tag_name) ⇒ TagNotFound
Returns a new instance of TagNotFound.
146 147 148 149 150 |
# File 'lib/fortitude/errors.rb', line 146 def initialize(tag_store, tag_name) super(%{The tag store #{tag_store} has no tag named #{tag_name.inspect}.}) @tag_store = tag_store @tag_name = tag_name end |
Instance Attribute Details
#tag_name ⇒ Object (readonly)
Returns the value of attribute tag_name.
144 145 146 |
# File 'lib/fortitude/errors.rb', line 144 def tag_name @tag_name end |
#tag_store ⇒ Object (readonly)
Returns the value of attribute tag_store.
144 145 146 |
# File 'lib/fortitude/errors.rb', line 144 def tag_store @tag_store end |