moved sod write method to module

This commit is contained in:
Torsten Ruger
2015-06-19 12:29:41 +03:00
parent 1baece99c7
commit 87143091ca
7 changed files with 8 additions and 8 deletions

View File

@ -7,7 +7,7 @@ class HelloTest < MiniTest::Test
machine = Virtual::Machine.boot
expressions = machine.compile_main @string_input
machine.run_before "Register::CallImplementation"
puts Sof::Writer.write(machine.space)
puts Sof.write(machine.space)
machine.run_after "Register::CallImplementation"

View File

@ -21,7 +21,7 @@ module VirtualHelper
# with the class comes superclass and all methods
expressions.first.type.instance_variable_set :@of_class , nil
end
is = Sof::Writer.write(expressions)
is = Sof.write(expressions)
#puts is
is.gsub!("\n" , "*^*")
assert_equal is , @output