APIdock / Ruby on Rails
/
Browse About
method

reference

v4.0.2 - Show latest stable - Class: ActiveSupport::Dependencies
reference(klass)
public

Store a reference to a class klass.

# File activesupport/lib/active_support/dependencies.rb, line 559
    def reference(klass)
      Reference.store klass
    end

Related methods

  • Instance methods
  • autoload_module!
  • autoloadable_module?
  • autoloaded?
  • clear
  • constantize
  • depend_on
  • hook!
  • load?
  • load_file
  • load_missing_constant
  • load_once_path?
  • loadable_constants_for_path
  • mark_for_unload
  • new_constants_in
  • qualified_const_defined?
  • qualified_name_for
  • reference
  • remove_constant
  • remove_unloadable_constants!
  • require_or_load
  • safe_constantize
  • search_for_file
  • to_constant_name
  • unhook!
  • will_unload?
  • Protected methods
  • protectedlog
  • protectedlog_activity?
  • protectedlog_call
APIdock API Documentation Browser

© 2026 APIdock