Sha256: 3d2bb82262c8253cccaf9be409932970cb5304964a31ea25369d75a134a9f0eb
Contents?: true
Size: 461 Bytes
Versions: 16
Compression:
Stored size: 461 Bytes
Contents
module Kernel # Defines object_classas an alias of class. # This is an alternative to __class__, akin to # #object_id. # alias_method( :object_class, :class ) end # _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # =begin test require 'test/unit' class TCKernel < Test::Unit::TestCase def test_object_class assert_equal( self.class, self.object_class ) end end =end
Version data entries
16 entries across 16 versions & 1 rubygems