Class: OutputItemOutputController

Inherits:
Shirka::Qt::TreeItemController show all
Defined in:
lib/troshka/output_item_output/controller.rb

Instance Attribute Summary

Attributes inherited from Shirka::Controller

#app, #components, #data, #parent, #view

Instance Method Summary collapse

Methods inherited from Shirka::Qt::TreeItemController

#add_item, #id, #initialize, #item_controller_class, #on_component_adding, #on_double_clicked, #view, #view_class

Methods inherited from Shirka::Controller

#add_component, #add_item, #initialize, #item_controller_class, #on_component_added, #on_component_adding, #view_class

Methods included from Shirka::Eventalk

#add_watcher, #fire, #forward, #watch, #watchers

Constructor Details

This class inherits a constructor from Shirka::Qt::TreeItemController

Instance Method Details

#init(data) ⇒ Object



2
3
4
# File 'lib/troshka/output_item_output/controller.rb', line 2

def init(data)
  @data.chop! while @data[-1]=="\n"
end