Class: Qt::ModelIndex
Instance Method Summary collapse
Instance Method Details
#inspect ⇒ Object
1772 1773 1774 1775 |
# File 'lib/Qt/qtruby4.rb', line 1772 def inspect str = super str.sub(/>$/, " valid?=%s, row=%s, column=%s>" % [valid?, row, column]) end |
#pretty_print(pp) ⇒ Object
1777 1778 1779 1780 |
# File 'lib/Qt/qtruby4.rb', line 1777 def pretty_print(pp) str = to_s pp.text str.sub(/>$/, "\n valid?=%s,\n row=%s,\n column=%s>" % [valid?, row, column]) end |