public Method

Colour.to_s

More informative output for inspect etc

Source Code

# File wx/classes/colour.rb, line 44
def to_s
  "#<Wx::Colour: (#{red}, #{green}, #{blue} *#{alpha})>"
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.