remove code that was moved to support helper
This commit is contained in:
parent
86f8594a6f
commit
d2d845266e
@ -1,18 +1 @@
|
|||||||
require_relative '../helper'
|
require_relative '../helper'
|
||||||
|
|
||||||
module Rubyx
|
|
||||||
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
|
|
||||||
|
Loading…
Reference in New Issue
Block a user