rubyx-debugger/app/main/controllers/sources_controller.rb
2015-07-31 19:42:34 +03:00

13 lines
263 B
Ruby

module Main
class SourcesController < Volt::ModelController
def initialize *args
super(*args)
sources = SourceModel.new
page._sources = sources
@volt_app.interpreter.register_event(:instruction_changed, sources)
end
end
end