Sha256: f8c5fbc32776b3855025d3452d849d225f9db6f28cf91e858571e228373a426a
Contents?: true
Size: 368 Bytes
Versions: 4
Compression:
Stored size: 368 Bytes
Contents
require "jruby-parser" module Rsense module Server class Parser include JRubyParser def parse_string(source_string, filename='') filename = filename || '(string)' version = org.jrubyparser.CompatVersion::RUBY2_0 opts = { filename: filename, version: version } parse(source_string, opts) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems