Sha256: 346dce28a51eed8b0c5b4c329950e9ccce348a06683acbb48d1428b3100aa28e
Contents?: true
Size: 342 Bytes
Versions: 3
Compression:
Stored size: 342 Bytes
Contents
require File.expand_path('../spec_helper', File.dirname(__FILE__)) 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
gorillib-0.1.11 | spec/metaprogramming/singleton_class_spec.rb |
gorillib-0.1.9 | spec/metaprogramming/singleton_class_spec.rb |
gorillib-0.1.8 | spec/metaprogramming/singleton_class_spec.rb |