Ruby China
  • 社区
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • 注册
  • 登录
qqren
@qqren
会员
第 14646 位会员 / 2014-08-22

2 篇帖子 / 2 条回帖
0 关注者
0 正在关注
0 收藏
GitHub Public Repos
  • ingress-nginx 0

    NGINX Ingress Controller for Kubernetes

  • mysql-backup 0

    Backup MySQL databases.

  • influxdb 0

    Scalable datastore for metrics, events, and real-time analytics

  • tools 0

  • sensu-community-plugins 0

    Sensu community plugins for checks, handlers, & mutators.

  • tool-repos 0

    Tracking various tools that fit in the monitoring and metrics space

  • awesome-sysadmin 0

    A curated list of amazingly awesome open source sysadmin resources inspired by Awesome PHP.

  • puppet-docs 0

    Curated Puppet Documentation

  • SmartShop 0

    重造一款可以给微信,百度轻应用和UC等等移动平台使用的商城系统

  • cartoque 0

    A simple and free CMDB app written in Ruby on Rails

More on GitHub
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • 请教一个 callback 中 self 的问题 at 2018年06月27日

    这里 before_save 是类方法啊,为什么 new.instance_eval 一个实例方法可以调用的?

  • Ruby 里面如何区分方法和本地变量的 at 2017年05月15日

    http://stackoverflow.com/questions/44715/why-do-ruby-setters-need-self-qualification-within-the-class

    找到一个合理的说法,就是如果不使用 self.attr= 来显式的调用 attr=() 方法的话,就没办法实现在方法内部定义本地变量的功能了,因为按照 ruby 的方法寻找,最后会到 method_missing。抛出异常。

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