Sha256: 05d955f34601efa35ff2f56cea78c8579eb00dde6336a4971fcff37afc42f373

Contents?: true

Size: 128 Bytes

Versions: 55

Compression:

Stored size: 128 Bytes

Contents

class Object
  unless method_defined? :singleton_class
    def singleton_class
      class << self; self; end
    end
  end
end

Version data entries

55 entries across 55 versions & 3 rubygems

Version Path
rhodes-5.5.18 lib/extensions/mspec/mspec/helpers/singleton_class.rb
rhodes-5.5.17 lib/extensions/mspec/mspec/helpers/singleton_class.rb
rhodes-5.5.15 lib/extensions/mspec/mspec/helpers/singleton_class.rb
rhodes-5.5.0.22 lib/extensions/mspec/mspec/helpers/singleton_class.rb
rhodes-5.5.2 lib/extensions/mspec/mspec/helpers/singleton_class.rb
rhodes-5.5.0.7 lib/extensions/mspec/mspec/helpers/singleton_class.rb
rhodes-5.5.0.3 lib/extensions/mspec/mspec/helpers/singleton_class.rb
rhodes-5.5.0 lib/extensions/mspec/mspec/helpers/singleton_class.rb
tauplatform-1.0.3 lib/extensions/mspec/mspec/helpers/singleton_class.rb
mspec-1.9.1 lib/mspec/helpers/singleton_class.rb
mspec-1.9.0 lib/mspec/helpers/singleton_class.rb
tauplatform-1.0.2 lib/extensions/mspec/mspec/helpers/singleton_class.rb
tauplatform-1.0.1 lib/extensions/mspec/mspec/helpers/singleton_class.rb
mspec-1.8.0 lib/mspec/helpers/singleton_class.rb
mspec-1.7.0 lib/mspec/helpers/singleton_class.rb
mspec-1.6.0 lib/mspec/helpers/singleton_class.rb
mspec-1.5.21 lib/mspec/helpers/singleton_class.rb
mspec-1.5.20 lib/mspec/helpers/singleton_class.rb
mspec-1.5.19 lib/mspec/helpers/singleton_class.rb
mspec-1.5.18 lib/mspec/helpers/singleton_class.rb