【发布时间】:2014-11-19 20:02:23
【问题描述】:
在 TextMate 中使用 Ruby on Rails 时。我像这样缩进我的多行 cmets
# This is a long comment and it'll run multiple lines so I'll
# indent the second line so people know it's part of the first comment.
在 TextMate 的 Ruby 包中,当您键入哈希然后点击选项卡时,它会自动生成以下内容
# => This text is still treated as a comment.
在哈希之后使用=> 符号有什么意义?谢谢!
【问题讨论】:
-
#不是主题标签。这是一个哈希。 -
注意到了,感谢您的奖金提示。
标签: ruby-on-rails ruby comments