2018-07-19 13:46:51 +02:00
|
|
|
require_relative "../helper"
|
|
|
|
|
|
|
|
module Ruby
|
|
|
|
module RubyTests
|
|
|
|
def setup
|
2019-02-08 22:03:23 +01:00
|
|
|
Parfait.boot!(Parfait.default_test_options)
|
2018-07-19 13:46:51 +02:00
|
|
|
end
|
|
|
|
def compile(input)
|
|
|
|
RubyCompiler.compile(input)
|
|
|
|
end
|
|
|
|
|
|
|
|
def ruby_to_vool(input)
|
2019-02-08 22:03:23 +01:00
|
|
|
FIXMERubyXCompiler.new(input).ruby_to_vool
|
2018-07-19 13:46:51 +02:00
|
|
|
end
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|