Class: Qt::Color
Instance Method Summary
collapse
Methods inherited from Base
#%, #&, #*, #**, #+, #-, #-@, #/, #<, #<<, #<=, #==, #>, #>=, #>>, #QCOMPARE, #QEXPECT_FAIL, #QFAIL, #QSKIP, #QTEST, #QVERIFY, #QVERIFY2, #QWARN, #^, ancestors, #is_a?, #methods, private_slots, #protected_methods, #public_methods, q_classinfo, q_signal, q_slot, signals, #singleton_methods, slots, #|, #~
Instance Method Details
568
569
570
571
|
# File 'lib/Qt/qtruby4.rb', line 568
def inspect
str = super
str.sub(/>$/, " %s>" % name)
end
|
#name(*args) ⇒ Object
578
579
580
|
# File 'lib/Qt/qtruby4.rb', line 578
def name(*args)
method_missing(:name, *args)
end
|
#pretty_print(pp) ⇒ Object
573
574
575
576
|
# File 'lib/Qt/qtruby4.rb', line 573
def pretty_print(pp)
str = to_s
pp.text str.sub(/>$/, " %s>" % name)
end
|