Class: Qt::Application
Instance Attribute Summary collapse
-
#data ⇒ Object
Returns the value of attribute data.
Class Method Summary collapse
Instance Attribute Details
#data ⇒ Object
Returns the value of attribute data.
198 199 200 |
# File 'lib/rui/toolkits/qt/qt.rb', line 198 def data @data end |
Class Method Details
.init(data) ⇒ Object
200 201 202 203 204 205 206 207 208 209 210 211 |
# File 'lib/rui/toolkits/qt/qt.rb', line 200 def self.init(data) app = new(ARGV) app.application_name = data[:id] app.organization_name = data[:id] app.data = data if block_given? yield app app.exec end app end |