Class: JAVASCRIPTParser
Instance Method Summary collapse
Instance Method Details
#parse(code) ⇒ Object
32 33 34 |
# File 'app/runners_strategy.rb', line 32 def parse(code) ExecJS.eval('"red yellow blue".split(" ")') end |
32 33 34 |
# File 'app/runners_strategy.rb', line 32 def parse(code) ExecJS.eval('"red yellow blue".split(" ")') end |