Sha256: 5a6396d575025574f389902abe16223dc4a4e69d2c55178fe0c2f72907a82977

Contents?: true

Size: 638 Bytes

Versions: 3

Compression:

Stored size: 638 Bytes

Contents

module ActiveRecord::Userstamp
  extend ActiveSupport::Autoload

  autoload :Configuration
  autoload :Stampable
  autoload :Stamper
  autoload :Utilities

  eager_autoload do
    autoload :ControllerAdditions
    autoload :MigrationAdditions
    autoload :ModelAdditions
  end

  # Retrieves the configuration for the userstamp gem.
  #
  # @return [ActiveRecord::Userstamp::Configuration]
  def self.config
    Configuration
  end

  # Configures the gem.
  #
  # @yield [ActiveRecord::Userstamp::Configuration] The configuration for the gem.
  def self.configure
    yield config
  end

  eager_load!
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
activerecord-userstamp-3.0.2 lib/active_record/userstamp.rb
activerecord-userstamp-3.0.1 lib/active_record/userstamp.rb
activerecord-userstamp-3.0.0 lib/active_record/userstamp.rb