Class: RubyParser

Inherits:
RunParser show all
Defined in:
app/runners_strategy.rb

Instance Method Summary collapse

Instance Method Details

#parse(code) ⇒ Object



12
13
14
15
16
17
18
# File 'app/runners_strategy.rb', line 12

def parse(code)
  begin
    eval(code)
  rescue Exception => ex
    raise ex.message
  end
end