module Partisan

Constants

VERSION

Public Class Methods

acts_as_follow() click to toggle source
# File lib/partisan.rb, line 21
def self.acts_as_follow
  self.send :include, Partisan::Follow
end
acts_as_followable() click to toggle source
# File lib/partisan.rb, line 17
def self.acts_as_followable
  self.send :include, Partisan::Followable
end
acts_as_follower() click to toggle source
# File lib/partisan.rb, line 13
def self.acts_as_follower
  self.send :include, Partisan::Follower
end
inject_into_active_record() click to toggle source
# File lib/partisan.rb, line 11
def self.inject_into_active_record
  @inject_into_active_record ||= Proc.new do
    def self.acts_as_follower
      self.send :include, Partisan::Follower
    end

    def self.acts_as_followable
      self.send :include, Partisan::Followable
    end

    def self.acts_as_follow
      self.send :include, Partisan::Follow
    end
  end
end