Exception: VoteFu::AlreadyVotedError

Inherits:
Error
  • Object
show all
Defined in:
lib/vote_fu/errors.rb

Overview

Raised when a voter attempts to vote again without recast enabled

Instance Method Summary collapse

Constructor Details

#initialize(msg = "Already voted on this item") ⇒ AlreadyVotedError

Returns a new instance of AlreadyVotedError.



9
10
11
# File 'lib/vote_fu/errors.rb', line 9

def initialize(msg = "Already voted on this item")
  super
end