Class: Qt::SizeF
Instance Method Summary collapse
Instance Method Details
#inspect ⇒ Object
1868 1869 1870 1871 |
# File 'lib/Qt/qtruby4.rb', line 1868 def inspect str = super str.sub(/>$/, " width=%f, height=%f>" % [width, height]) end |
#pretty_print(pp) ⇒ Object
1873 1874 1875 1876 |
# File 'lib/Qt/qtruby4.rb', line 1873 def pretty_print(pp) str = to_s pp.text str.sub(/>$/, "\n width=%f,\n height=%f>" % [width, height]) end |