Sha256: 08ad239b51d08a25566252753e67c77ef25f9a700e034a096187aaa7c82c05ef

Contents?: true

Size: 172 Bytes

Versions: 6

Compression:

Stored size: 172 Bytes

Contents

abort "Don't run on opal!" if RUBY_ENGINE =~ /^opal/

require 'opal'

module Kernel
  def opal_parse str, file = '(string)'
    Opal::Grammar.new.parse str, file
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
opal-0.3.20 spec/spec_helper.rb
opal-0.3.19 spec/spec_helper.rb
opal-0.3.18 spec/spec_helper.rb
opal-0.3.17 test/spec_helper.rb
opal-0.3.16 spec/spec_helper.rb
opal-0.3.15 spec/spec_helper.rb