Sha256: 76b0f75bca54e5c6f648b95f50a05b7e8f3d80fdc9a965d5e1160ac3f84d5f51

Contents?: true

Size: 230 Bytes

Versions: 26

Compression:

Stored size: 230 Bytes

Contents

module Kernel

  # Defines core method __class__ as an alias of class.
  # This allows you to use #class as your own method, without
  # loosing the ability to determine the object's class.

  alias_method :__class__, :class

end

Version data entries

26 entries across 25 versions & 3 rubygems

Version Path
facets-glimmer-3.2.0 lib/core/facets/kernel/__class__.rb
facets-3.1.0 lib/core/facets/kernel/__class__.rb
facets-3.0.0 lib/core/facets/kernel/__class__.rb
facets-2.9.3 lib/core/facets/kernel/__class__.rb
facets-2.9.2 lib/core/facets/kernel/__class__.rb
facets-2.9.2 src/core/facets/kernel/__class__.rb
facets-2.9.1 lib/core/facets/kernel/__class__.rb
facets-2.9.0 lib/core/facets/kernel/__class__.rb
facets-2.9.0.pre.2 lib/core/facets/kernel/__class__.rb
facets-2.9.0.pre.1 lib/core/facets/kernel/__class__.rb
facets-2.8.4 lib/core/facets/kernel/__class__.rb
facets-2.8.3 lib/core/facets/kernel/__class__.rb
facets-2.8.2 lib/core/facets/kernel/__class__.rb
facets-2.8.1 lib/core/facets/kernel/__class__.rb
facets-2.8.0 lib/core/facets/kernel/__class__.rb
facets-2.7.0 lib/core/facets/kernel/__class__.rb
facets-2.6.0 lib/core/facets/kernel/__class__.rb
facets-2.4.1 lib/facets/kernel/__class__.rb
facets-2.4.4 lib/core/facets/kernel/__class__.rb
facets-2.4.3 lib/core/facets/kernel/__class__.rb