Method: Qt::Size._load

Defined in:
lib/ruber/qt_sugar.rb

._load(str) ⇒ Object



165
166
167
168
# File 'lib/ruber/qt_sugar.rb', line 165

def self._load str
  w, h = str.split ';'
  self.new w.to_i, h.to_i
end