Sha256: 8ac04808fe2935e27612e2dd6afee27d6c474b280505077fef2e2189098d0fcf

Contents?: true

Size: 262 Bytes

Versions: 6

Compression:

Stored size: 262 Bytes

Contents

# -*- encoding : utf-8 -*-

module Mongoid
  module Userstamps
    module Config
      class User
        attr_accessor :reader

        def initialize(model)
          @reader = "current_#{model.name.underscore}".to_sym
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
mongoid-userstamps-3.1.3 lib/mongoid/userstamps/config/user.rb
mongoid-userstamps-3.1.2 lib/mongoid/userstamps/config/user.rb
mongoid-userstamps-3.1.1 lib/mongoid/userstamps/config/user.rb
mongoid-userstamps-3.1.0 lib/mongoid/userstamps/config/user.rb
mongoid-userstamps-3.0.0.alpha1 lib/mongoid/userstamps/config/user.rb
mongoid-userstamps-2.0.0 lib/mongoid/userstamps/config/user.rb