stavo indagando curses.rb
del curses
gemma, ho trovato questo ovunque:"Questo è uno stub, utilizzato per l'indicizzazione" nella maggior parte dei metodi?
def attrset(attrs)
#This is a stub, used for indexing
end
# bkgdset(ch)
#
# Manipulate the background of the current window
# with character Integer +ch+
#
# see also Curses.bkgdset
def bkgdset(ch)
#This is a stub, used for indexing
end
# bkgd(ch)
#
# Set the background of the current window
# and apply character Integer +ch+ to every character.
#
# see also Curses.bkgd
def bkgd(ch)
#This is a stub, used for indexing
end
# Returns an Interer (+ch+) for the character property in the current window.
def getbkgd()
#This is a stub, used for indexing
end
Non capisco la parte stub. Dov'è il codice che fa tutto il lavoro?
Woah, azzeccato. Questo spiega tutto. – ntl0ve