- 1.0.0 (0)
- 1.1.6 (0)
- 1.2.6 (0)
- 2.0.3 (0)
- 2.1.0 (24)
- 2.2.1 (0)
- 2.3.8 (0)
- 3.0.0 (-38)
- 3.0.9 (0)
- 3.1.0 (0)
- 3.2.1 (12)
- 3.2.8 (0)
- 3.2.13 (0)
- 4.0.2 (0)
- 4.1.8 (15)
- 4.2.1 (0)
- 4.2.7 (0)
- 4.2.9 (0)
- 5.0.0.1 (27)
- 5.1.7 (-12)
- 5.2.3 (15)
- 6.0.0 (0)
- 6.1.3.1 (0)
- 6.1.7.7 (0)
- 7.0.0 (17)
- 7.1.3.2 (0)
- 7.1.3.4 (0)
- What's this?
Attribute Accessors
Extends the module object with class/module and instance accessors for class/module attributes, just like the native attr* accessors for instance attributes.
frozen_string_literal: true
frozen_string_literal: true
Attribute Accessors per Thread
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.
Note that it can also be scoped per-fiber if Rails.application.config.active_support.isolation_level is set to :fiber.
frozen_string_literal: true
frozen_string_literal: true
frozen_string_literal: true
Constants
DELEGATION_RESERVED_METHOD_NAMES = Set.new( RUBY_RESERVED_KEYWORDS + DELEGATION_RESERVED_KEYWORDS ).freeze
DELEGATION_RESERVED_KEYWORDS = %w(_ arg args block)
RUBY_RESERVED_KEYWORDS = %w(__ENCODING__ __LINE__ __FILE__ alias and BEGIN begin break case class def defined? do else elsif END end ensure false for if in module next nil not or redo rescue retry return self super then true undef unless until when while yield)
Attributes
[RW] | attr_internal_naming_format |