Sha256: 97cdc4a08bff66a61364c0eab720c0efa7d338dc4a9ab20b533a14f1bc6f9c20

Contents?: true

Size: 233 Bytes

Versions: 4

Compression:

Stored size: 233 Bytes

Contents

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

4 entries across 4 versions & 1 rubygems

Version Path
mongoid-userstamps-3.4.1 lib/mongoid/userstamps/config/user.rb
mongoid-userstamps-3.4.0 lib/mongoid/userstamps/config/user.rb
mongoid-userstamps-3.3.0 lib/mongoid/userstamps/config/user.rb
mongoid-userstamps-3.2.1 lib/mongoid/userstamps/config/user.rb