class Module
Ruby on Rails 5.0.7.2
Extends the module object with class/module and instance accessors for class/module attributes, just like the native attr* accessors for instance attributes.
Extends the module object with class/module and instance accessors for class/module attributes, just like the native attr* accessors for instance attributes, but does so on a per-thread basis.
So the values are scoped within the Thread.current space under the class name of the module.
Extends the API for constants to be able to deal with qualified names. Arguments are assumed to be relative to the receiver.
Inherits from
Namespace
Modules
Classes
Includes
Constants
Attributes
Methods (defined here)
- # alias_attribute
- # alias_method_chain
- # anonymous?
- # attr_internal
- # attr_internal_accessor
- # attr_internal_reader
- # attr_internal_writer
- # cattr_accessor
- # cattr_reader
- # cattr_writer
- # delegate
- # deprecate
- # mattr_accessor
- # mattr_reader
- # mattr_writer
- # parent
- # parent_name
- # parents
- # qualified_const_defined?
- # qualified_const_get
- # qualified_const_set
- # redefine_method
- # remove_possible_method
- # remove_possible_singleton_method
- # thread_cattr_accessor
- # thread_mattr_accessor
Private methods (2)
Show private methods Implementation detail — not part of the public API.
Used by
Subclasses (1)
Methods (inherited)
From Module::Concerning
(2)
- # concern
- # concerning
From Object
(25)
- # <
- # acts_like?
- # blank?
- # change
- # create_fixtures
- # deep_dup
- # destroy
- # duplicable?
- # html_safe?
- # in?
- # instance_values
- # instance_variable_names
- # perform
- # presence
- # presence_in
- # present?
- # subscribed
- # to_param
- # to_query
- # try
- # try!
- # unescape
- # unsubscribed
- # with_options
- self. table_name_prefix