Class: Qt::Color

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

Instance Method Summary collapse

Instance Method Details

#inspect ⇒ Object



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