访问次数
我的另一个总结性博客: todototry 大米粒
摘要: #Class describ ------rdoc rules#= headers#this is header content#== sub header# this is sub header content#=== sub sub header# this is sub sub headerclass Animal attr_accessor :name #-------------① #this is the comment for the 'new' method ! def initialize type name = type #-------------② en 阅读全文
posted @ 2011-07-24 13:26 fandyst 阅读(1376) 评论(0) 推荐(0) 编辑
摘要: Ruby 错误提示:class/module name must be CONSTANT=beginbegintocommentthisisalsocomment=endputs"noLonggerComments";#rdocrules#=headers#thisisheadercontent#==subheaders#thisissubheadercontent#===subsubheaders#thisissubsubheadersclassanimal#thisisthecommentforthe'new'method!definitializety 阅读全文
posted @ 2011-07-24 12:42 fandyst 阅读(1888) 评论(0) 推荐(0) 编辑