Ruby China
  • Topics
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • Sign Up
  • Sign In
angusouyang
@angusouyang
Member
NO. 13829 / 2014-06-26

[email protected]
1 Topics / 4 Replies
0 Followers
0 Following
0 Favorites
GitHub Public Repos
More on GitHub
  • Overview
  • Topics
  • Replies
  • Favorites
  • Following
  • Followers
  • 新手问题 undefined method at July 24, 2014

    #8 楼 @Rei 嗯 现在已经弄清楚了 谢谢指出

  • 新手问题 undefined method at July 24, 2014

    #5 楼 @springwq 你介绍的这本非常好 面向对象那部分说得很细,谢谢!

  • 新手问题 undefined method at July 22, 2014

    #2 楼 @saiga 啊 我是按照书上的代码打的 http://ruby.learncodethehardway.org/book/ex40.html

  • 新手问题 undefined method at July 22, 2014

    #1 楼 @springwq 谢谢,我加上了 attr_reader :name,可以运行

    所以就是说实例变量是不能通过 . 这种方式直接访问的吗?

关于 / RubyConf / Ruby 镜像 / RubyGems 镜像 / 活跃会员 / 组织 / API / 贡献者
由众多爱好者共同维护的 Ruby 中文社区,本站使用 Homeland 构建,并采用 Docker 部署。
服务器由 赞助 CDN 由 赞助
iOS 客户端 / Android 客户端 简体中文 / English