Exception: Tag::MultipleTagsFound

Inherits:
StandardError
  • Object
show all
Defined in:
app/models/tag.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message = "Multiple tags found") ⇒ MultipleTagsFound

Returns a new instance of MultipleTagsFound.



16
17
18
# File 'app/models/tag.rb', line 16

def initialize(message="Multiple tags found")
	@message = message
end

Instance Attribute Details

#messageObject (readonly)

Returns the value of attribute message.



15
16
17
# File 'app/models/tag.rb', line 15

def message
  @message
end