Sha256: c7bed039d42a9113a551ba87e847faadeca27671278aec0bd6683a91a5667555
Contents?: true
Size: 338 Bytes
Versions: 7
Compression:
Stored size: 338 Bytes
Contents
require "redd/thing" module Redd class Thing # A Redd::Object that can be voted on module Voteable def upvote client.upvote(self) end def downvote client.upvote(self) end def unvote client.upvote(self) end alias_method :clear_vote, :unvote end end end
Version data entries
7 entries across 7 versions & 1 rubygems