我正在调查宝石,我到处都发现了这个curses.rb
:curses
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
我不明白存根部分。真正完成所有工作的代码在哪里?