以下方法存在于Redcloth宝石中.
我的问题是:构造"to(RedCloth :: Formatters :: HTML)"是什么意思?"to"不是类中的方法,也不是超类中的方法(类是String类).
干杯.基督教.
def to_html( *rules )
apply_rules(rules)
to(RedCloth::Formatters::HTML)
end
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
217 次 |
| 最近记录: |