能爲我這樣的人解釋從幸運僵硬的露營微架構的這部分代碼:接收露營的路徑構建方法
# Simply builds a complete path from a path +p+ within the app. If your
# application is mounted at <tt>/blog</tt>:
#
# self/"/view/1" #=> "/blog/view/1"
# self/"styles.css" #=> "styles.css"
# self/R(Edit, 1) #=> "/blog/edit/1"
#
def /(p); p[0] == ?/ ? @root + p : p end
感謝您的解釋。問號操作員讓我困惑。 –