moving helper for all to use
This commit is contained in:
@ -1,14 +1 @@
|
||||
require_relative "../helper"
|
||||
|
||||
module MomCompile
|
||||
include CompilerHelper
|
||||
|
||||
def compile_first_method input
|
||||
lst = Vool::VoolCompiler.compile as_test_main( input )
|
||||
assert_equal Parfait::Class , lst.clazz.class , input
|
||||
@method = lst.clazz.get_method(:main)
|
||||
assert @method
|
||||
lst.to_mom( nil ).first
|
||||
end
|
||||
|
||||
end
|
||||
|
Reference in New Issue
Block a user