Sha256: a209c4bdb66668d2edc79179d62af5c913d696865362091cb7f5304da81fcd34
Contents?: true
Size: 293 Bytes
Versions: 4
Compression:
Stored size: 293 Bytes
Contents
require 'opal' module Kernel def opal_eval(str) code = Opal::Parser.new.parse str `eval(code)` end def opal_parse(str, file='(string)') Opal::Grammar.new.parse str, file end def opal_eval_compiled(javascript) `eval(javascript)` end end OpalSpec::Runner.autorun
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
opal-0.3.33 | spec/spec_helper.rb |
opal-0.3.32 | spec/spec_helper.rb |
opal-0.3.31 | spec/spec_helper.rb |
opal-0.3.30 | spec/spec_helper.rb |