Get a basic MetaClass going
Does get created in new, but not in boot. Also not yet used in compiling
This commit is contained in:
@ -16,8 +16,12 @@ module VoolBlocks
|
||||
begin
|
||||
vool.to_mom(nil)
|
||||
rescue => err
|
||||
assert err.message.include?("Blocks")
|
||||
assert err.message.include?("Blocks") , err.message
|
||||
end
|
||||
end
|
||||
def test_assign_compiles
|
||||
vool = Ruby::RubyCompiler.compile( as_class_method("val = 0") ).to_vool
|
||||
assert_equal Mom::MomCompiler , vool.to_mom(nil).class
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user