lib/redd/thing/voteable.rb in redd-0.4.3 vs lib/redd/thing/voteable.rb in redd-0.5.0
- old
+ new
@@ -1,9 +1,10 @@
require "redd/thing"
module Redd
class Thing
+ # A Redd::Object that can be voted on
module Voteable
def upvote
client.upvote(self)
end
@@ -14,9 +15,8 @@
def unvote
client.upvote(self)
end
alias_method :clear_vote, :unvote
-
end
end
end