Sha256: a56de4efcabb84569b2261d23508315bb9257519a154e533daa72b1d5d9e7cf9

Contents?: true

Size: 196 Bytes

Versions: 28

Compression:

Stored size: 196 Bytes

Contents

describe "A singleton class" do
  it "is Boolean for true" do
    true.singleton_class.should == Boolean
  end

  it "is Boolean for false" do
    false.singleton_class.should == Boolean
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
opal-0.4.4 spec/opal/boolean/singleton_class_spec.rb
opal-0.4.3 spec/opal/boolean/singleton_class_spec.rb
opal-0.4.2 spec/opal/boolean/singleton_class_spec.rb
opal-0.4.1 spec/opal/boolean/singleton_class_spec.rb
opal-0.4.0 spec/opal/boolean/singleton_class_spec.rb
opal-0.3.44 spec/opal/boolean/singleton_class_spec.rb
opal-0.3.43 spec/opal/boolean/singleton_class_spec.rb
opal-0.3.42 spec/core_ext/boolean/singleton_class_spec.rb
opal-0.3.41 spec/core/boolean/singleton_class_spec.rb
opal-0.3.40 spec/core/boolean/singleton_class_spec.rb
opal-0.3.39 spec/core/boolean/singleton_class_spec.rb
opal-0.3.38 spec/core/boolean/singleton_class_spec.rb
opal-0.3.37 spec/core/boolean/singleton_class_spec.rb
opal-0.3.36 spec/core/boolean/singleton_class_spec.rb
opal-0.3.35 spec/core/boolean/singleton_class_spec.rb
opal-0.3.34 spec/core/boolean/singleton_class_spec.rb
opal-0.3.33 spec/core/boolean/singleton_class_spec.rb
opal-0.3.32 spec/core/boolean/singleton_class_spec.rb
opal-0.3.31 spec/core/boolean/singleton_class_spec.rb
opal-0.3.30 spec/core/boolean/singleton_class_spec.rb