Method: Qt::Rect._load

Defined in:
lib/ruber/qt_sugar.rb

._load(str) ⇒ Object



233
234
235
236
# File 'lib/ruber/qt_sugar.rb', line 233

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