Flowdock

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


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.


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(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
Show files where this class is defined (11 files)
Register or log in to add new notes.