Sha256: 31cef2cf55ca76213d50dcb70da898232cdba46a08dc28867e3abfd8e518d482
Contents?: true
Size: 324 Bytes
Versions: 8
Compression:
Stored size: 324 Bytes
Contents
require File.dirname(__FILE__)+'/../spec_helper' require 'gorillib/metaprogramming/singleton_class' describe 'Singleton Class' do it 'returns the singleton class' do o = Object.new class << o; self end.should == o.singleton_class end it 'does not have an effect if already provided by another library.' end
Version data entries
8 entries across 8 versions & 1 rubygems