rubyx/test/vool/helper.rb

19 lines
319 B
Ruby
Raw Normal View History

2017-04-08 11:11:52 +02:00
require_relative "../helper"
module Vool
module CompilerHelper
def in_Test(statements)
"class Test ; #{statements} ; end"
end
def in_Space(statements)
"class Space ; #{statements} ; end"
end
def as_main(statements)
in_Space("def main ; #{statements}; end")
end
end
end