Method: Gosu::Window#caption

Defined in:
rdoc/gosu.rb

#captionString

Returns the window’s caption, usually displayed in the title bar.

Returns:

  • (String)

    the window’s caption, usually displayed in the title bar.



775
776
777
# File 'rdoc/gosu.rb', line 775

def caption
  @caption
end