class MainController
Public Instance Methods
init(data)
click to toggle source
# File lib/troshka/main/controller.rb, line 6 def init(data) app.components[:output] = OutputController.new(app, self, []) add_component app.components[:output], :main add_component DetailController.new(app, self, []), :info add_component MethodsController.new(app, self, []), :info2 app.components[:editor] = EditorController.new(app, self, []) add_component app.components[:editor], :editor end
start()
click to toggle source
# File lib/troshka/main/controller.rb, line 2 def start view.show end