Sha256: 0f2385e076a5238409c33f4564c6e6a00dc691c24675e964ea79e1df2476133e
Contents?: true
Size: 354 Bytes
Versions: 7
Compression:
Stored size: 354 Bytes
Contents
require 'spec_helper' require 'gorillib/metaprogramming/singleton_class' describe 'Singleton Class', :metaprogramming_spec => true 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.' unless ENV['QUIET_RSPEC'] end
Version data entries
7 entries across 7 versions & 1 rubygems