Sha256: e1a2e576e23628fce34f7d2b09b46e2a1b777a4f059dfa937b9cf429af3b41ec
Contents?: true
Size: 331 Bytes
Versions: 15
Compression:
Stored size: 331 Bytes
Contents
module ActsAsVotable module Extenders module Voter def voter? false end def acts_as_voter(*args) require 'acts_as_votable/voter' include ActsAsVotable::Voter class_eval do def self.voter? true end end end end end end
Version data entries
15 entries across 15 versions & 2 rubygems