Sha256: fc3a9fc17386e240edd61a7b74c0044ab8ea0fd33b948dfe60ec972ea6a9c8ac

Contents?: true

Size: 608 Bytes

Versions: 2

Compression:

Stored size: 608 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

2 entries across 2 versions & 1 rubygems

Version Path
activerecord-userstamp-3.0.4 lib/active_record/userstamp.rb
activerecord-userstamp-3.0.3 lib/active_record/userstamp.rb