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 API for constants to be able to deal with qualified names.
Arguments are assumed to be relative to the receiver.
Constants
RUBY_RESERVED_WORDS = Set.new(
%w(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)
).freeze
Attributes
[RW] |
attr_internal_naming_format |
|
Show files where this class is defined (12 files)
activesupport/lib/active_support/core_ext/module/delegation.rb
activesupport/lib/active_support/core_ext/module/deprecation.rb
activesupport/lib/active_support/core_ext/module/introspection.rb
activesupport/lib/active_support/core_ext/module/reachable.rb
activesupport/lib/active_support/core_ext/module/aliasing.rb
activesupport/lib/active_support/core_ext/module/anonymous.rb
activesupport/lib/active_support/core_ext/module/method_transplanting.rb
activesupport/lib/active_support/core_ext/module/remove_method.rb
activesupport/lib/active_support/core_ext/module/qualified_const.rb
activesupport/lib/active_support/core_ext/module/attr_internal.rb
activesupport/lib/active_support/core_ext/module/concerning.rb
activesupport/lib/active_support/core_ext/module/attribute_accessors.rb