small fix, works again

update to compiler api changes
some gemfile updates
This commit is contained in:
Torsten Ruger
2018-11-05 18:09:32 -08:00
parent bba8f787d5
commit 2159c86a5b
4 changed files with 10 additions and 10 deletions

View File

@ -61,7 +61,7 @@ class SelectView < ElementView
@interpreter.set_state :stopped
@element.at_css(".selected").text = code
ruby = get_codes[code]
linker = RubyX::RubyXCompiler.new(as_main(ruby)).ruby_to_binary(:interpreter)
linker = RubyX::RubyXCompiler.new.ruby_to_binary(as_main(ruby), :interpreter)
@interpreter.start_program(linker)
end
def as_main(statements)