Sha256: 0a5960348003a5a5e0090d4770cb92ff5b08d0a0ed132795ac95c9c88f127df2

Contents?: true

Size: 312 Bytes

Versions: 11

Compression:

Stored size: 312 Bytes

Contents

module Mongoid
  module History
    mattr_accessor :tracker_class_name
    mattr_accessor :trackable_class_options
    mattr_accessor :modifier_class_name
    mattr_accessor :current_user_method

    def self.tracker_class
      @tracker_class ||= tracker_class_name.to_s.classify.constantize
    end

  end
end

Version data entries

11 entries across 11 versions & 3 rubygems

Version Path
mongoid-history-0.3.3 lib/mongoid/history.rb
mongoid-history-0.3.2 lib/mongoid/history.rb
sunrise-cms-0.5.0.rc1 vendor/bundle/ruby/1.9.1/gems/mongoid-history-0.3.1/lib/mongoid/history.rb
mongoid-history-0.3.1 lib/mongoid/history.rb
mongoid-history-patched-0.2.3 lib/mongoid/history.rb
mongoid-history-0.3.0 lib/mongoid/history.rb
mongoid-history-0.2.4 lib/mongoid/history.rb
mongoid-history-0.2.3 lib/mongoid/history.rb
mongoid-history-0.2.2 lib/mongoid/history.rb
mongoid-history-0.2.1 lib/mongoid/history.rb
mongoid-history-0.1.7 lib/mongoid/history.rb