Class: Qt::Color

Inherits:
Base show all
Defined in:
lib/qt/qtruby4.rb

Instance Method Summary collapse

Methods inherited from Base

#%, #&, #*, #**, #+, #-, #-@, #/, #<, #<<, #<=, #==, #>, #>=, #>>, #^, #methods, #protected_methods, #public_methods, q_classinfo, q_signal, q_slot, signals, #singleton_methods, slots, #|, #~

Instance Method Details

#inspectObject



312
313
314
315
# File 'lib/qt/qtruby4.rb', line 312

def inspect
	str = super
	str.sub(/>$/, " %s>" % name)
end

#name(*args) ⇒ Object



322
323
324
# File 'lib/qt/qtruby4.rb', line 322

def name(*args)
	method_missing(:name, *args)
end

#pretty_print(pp) ⇒ Object



317
318
319
320
# File 'lib/qt/qtruby4.rb', line 317

def pretty_print(pp)
	str = to_s
	pp.text str.sub(/>$/, " %s>" % name)
end