Sha256: efe92bf4c3979697d287d648756c4094715f80fca7c39403717a62c62c50950a

Contents?: true

Size: 288 Bytes

Versions: 2

Compression:

Stored size: 288 Bytes

Contents

require "wisper/active_tracker/version"
require "wisper/active_tracker/tracker"

module Wisper
  def self.tracker
    ::Wisper::ActiveTracker::Tracker
  end

  module ActiveTracker
    def self.extend_all
      ::ActiveRecord::Base.class_eval { include Wisper.tracker }
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
wisper-active_tracker-0.1.1 lib/wisper/active_tracker.rb
wisper-active_tracker-0.1.0 lib/wisper/active_tracker.rb