Sha256: 51521a6e9748f0430140bcc5102842cc2054ae00f0f309068abdd133b3f8ec91

Contents?: true

Size: 156 Bytes

Versions: 31

Compression:

Stored size: 156 Bytes

Contents

describe "Opal.eval()" do
  it "evaluates ruby code by compiling it to javascript and running" do
    `Opal.eval("'foo'.class")`.should == String
  end
end

Version data entries

31 entries across 31 versions & 2 rubygems

Version Path
opal-0.8.1 spec/opal/core/runtime/eval_spec.rb
opal-0.8.1.rc1 spec/opal/core/runtime/eval_spec.rb
opal-0.8.0 spec/opal/core/runtime/eval_spec.rb
opal-0.8.0.rc3 spec/opal/core/runtime/eval_spec.rb
opal-0.8.0.rc2 spec/opal/core/runtime/eval_spec.rb
opal-0.8.0.rc1 spec/opal/core/runtime/eval_spec.rb
opal-0.8.0.beta1 spec/opal/core/runtime/eval_spec.rb
opal-0.7.2 spec/opal/core/runtime/eval_spec.rb
opal-0.7.1 spec/opal/core/runtime/eval_spec.rb
opal-0.7.0 spec/opal/core/runtime/eval_spec.rb
opal-0.7.0.rc1 spec/opal/core/runtime/eval_spec.rb
opal-0.7.0.beta3 spec/opal/core/runtime/eval_spec.rb
opal-0.6.3 spec/opal/core/runtime/eval_spec.rb
opal-0.7.0.beta2 spec/opal/core/runtime/eval_spec.rb
opal-cj-0.7.0.beta2 spec/opal/core/runtime/eval_spec.rb
opal-cj-0.7.0.beta1 spec/opal/core/runtime/eval_spec.rb
opal-0.7.0.beta1 spec/opal/core/runtime/eval_spec.rb
opal-0.6.2 spec/opal/core/runtime/eval_spec.rb
opal-0.6.1 spec/opal/core/runtime/eval_spec.rb
opal-0.6.0 spec/opal/core/runtime/eval_spec.rb