class

Module

v4.2.1 - Show latest stable - Superclass: Object

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.

Included modules

  • Module::Concerning

Constants

RUBY_RESERVED_WORDS = Set.new(\n%w(alias and BEGIN begin break case class def defined? do else elsif END\nend ensure false for if in module next nil not or redo rescue retry\nreturn self super then true undef unless until when while yield)\n).freeze

Attributes

[RW]attr_internal_naming_format

Files

  • 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/attr_internal.rb
  • activesupport/lib/active_support/core_ext/module/attribute_accessors.rb
  • activesupport/lib/active_support/core_ext/module/concerning.rb
  • 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/method_transplanting.rb
  • activesupport/lib/active_support/core_ext/module/qualified_const.rb
  • activesupport/lib/active_support/core_ext/module/reachable.rb
  • activesupport/lib/active_support/core_ext/module/remove_method.rb