Sha256: 9a5eeb9960d6b7393344b6e2466134963f8e130a6d1838ecaf57c0cf14db6f37

Contents?: true

Size: 259 Bytes

Versions: 49

Compression:

Stored size: 259 Bytes

Contents

require 'spec_helper'

class SingletonClassConstantsSpec
  class << self
    $singleton_class_constant_spec = String
  end
end

describe "Singleton Classes" do
  it "looks up constants in body" do
    $singleton_class_constant_spec.should == String
  end
end

Version data entries

49 entries across 49 versions & 3 rubygems

Version Path
opal-0.10.6 spec/opal/core/runtime/singleton_class_spec.rb
opal-0.10.6.beta spec/opal/core/runtime/singleton_class_spec.rb
opal-0.10.5 spec/opal/core/runtime/singleton_class_spec.rb
opal-0.10.4 spec/opal/core/runtime/singleton_class_spec.rb
opal-0.11.0.rc1 spec/opal/core/runtime/singleton_class_spec.rb
opal-0.10.3 spec/opal/core/runtime/singleton_class_spec.rb
opal-0.10.2 spec/opal/core/runtime/singleton_class_spec.rb
opal-0.10.1 spec/opal/core/runtime/singleton_class_spec.rb
opal-0.10.0 spec/opal/core/runtime/singleton_class_spec.rb
opal-0.10.0.rc2 spec/opal/core/runtime/singleton_class_spec.rb
opal-0.9.4 spec/opal/core/runtime/singleton_class_spec.rb
opal-0.9.3 spec/opal/core/runtime/singleton_class_spec.rb
opal-0.10.0.rc1 spec/opal/core/runtime/singleton_class_spec.rb
opal-0.10.0.beta5 spec/opal/core/runtime/singleton_class_spec.rb
opal-0.10.0.beta4 spec/opal/core/runtime/singleton_class_spec.rb
opal-0.10.0.beta3 spec/opal/core/runtime/singleton_class_spec.rb
opal-0.10.0.beta2 spec/opal/core/runtime/singleton_class_spec.rb
opal-0.10.0.beta1 spec/opal/core/runtime/singleton_class_spec.rb
opal-0.9.2 spec/opal/core/runtime/singleton_class_spec.rb
opal-0.9.0 spec/opal/core/runtime/singleton_class_spec.rb