Sha256: baec20b6c1b79ce29e55e72dc7421836526fd0afffc8676a035b06bf23518a5e

Contents?: true

Size: 147 Bytes

Versions: 71

Compression:

Stored size: 147 Bytes

Contents

describe "Kernel#class" do
  it "returns the class of the receiver" do
    Object.new.class.should == Object
    [].class.should == Array
  end
end

Version data entries

71 entries across 71 versions & 3 rubygems

Version Path
opal-0.7.0.beta1 spec/opal/core/kernel/class_spec.rb
opal-0.6.2 spec/opal/core/kernel/class_spec.rb
opal-0.6.1 spec/opal/core/kernel/class_spec.rb
opal-0.6.0 spec/opal/core/kernel/class_spec.rb
opal-0.5.5 spec/opal/core/kernel/class_spec.rb
opal-0.5.4 spec/corelib/kernel/class_spec.rb
opal-0.5.2 spec/corelib/kernel/class_spec.rb
opal-0.5.0 spec/corelib/kernel/class_spec.rb
opal-0.4.4 spec/opal/kernel/class_spec.rb
opal-0.4.3 spec/opal/kernel/class_spec.rb
opal-0.4.2 spec/opal/kernel/class_spec.rb
opal-0.4.1 spec/opal/kernel/class_spec.rb
opal-0.4.0 spec/opal/kernel/class_spec.rb
opal-0.3.44 spec/rubyspec/core/kernel/class_spec.rb
opal-0.3.43 spec/rubyspec/core/kernel/class_spec.rb
opal-0.3.42 spec/core/kernel/class_spec.rb
opal-0.3.41 spec/core/kernel/class_spec.rb
opal-0.3.40 spec/core/kernel/class_spec.rb
opal-0.3.39 spec/core/kernel/class_spec.rb
opal-0.3.38 spec/core/kernel/class_spec.rb