Ruby China
  • Topics
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • Sign Up
  • Sign In
dingzhihu
@dingzhihu
VIP
NO. 3238 / 2012-08-12

[email protected]
1 Topics / 8 Replies
0 Followers
0 Following
5 Favorites
生命不息,折腾不止
GitHub Public Repos
  • TVGuide 5

    a tv guide

  • Android-MTWidget 4

    widget library for meituan apps

  • RYFJournal 1

  • Lover 1

  • YGBlog 1

    android client 4 moon-light blog

  • okhttp 1

    An HTTP+SPDY client for Android and Java applications

  • android-common 0

    Android common lib, include ImageCache, HttpCache, DropDownListView, DownloadManager, Utils and s...

  • gradle-liquibase-plugin 0

    A Gradle plugin for Liquibase

  • apptl 0

    Android Programming: Pushing The Limits - The source code samples and snippets from the book

  • blog 0

    ruby on rails demo

More on GitHub
  • Overview
  • Topics
  • Replies
  • Favorites
  • Following
  • Followers
  • ruby 还是有些难度的 at December 17, 2012

    各种语言的设计思想还是差别很大的

  • 发起新的开源项目 - 19 屋,招募贡献者 at December 12, 2012

    支持,报个名~

  • 我收集并在使用的一些 Ruby 学习资源列表 at December 07, 2012

    楼主好人,一生平安

  • 离职正好一周了,刚发了第一份求职信 at November 14, 2012

    加油

  • ruby 元编程练习 at November 13, 2012

    #1 楼 @themorecolor #3 楼 @chenge #5 楼 @tumayun #7 楼 @ywjno

    网上找到一个解决方案 class_local_a = class A def initialize @a = 11 @@a = 22 a = 33 end @a = 1 @@a = 2 a = 3 end

    p A.instance_variable_get(:@a) #ok

    p A.class_variable_get(:@@a) if RUBY_VERSION > '1.9' class A; p @@a end if RUBY_VERSION < '1.9'

    p class_local_a

    p A.new.instance_variable_get(:@a)

    p A.class_variable_get(:@@a) if RUBY_VERSION > '1.9' class A; p @@a end if RUBY_VERSION < '1.9'

    p A.new.method(:initialize).call

  • ruby 元编程练习 at November 13, 2012

    #3 楼 @chenge 实际意义不大,但对理解元编程应该还是很有帮助的

  • ruby 元编程练习 at November 13, 2012

    #1 楼 @themorecolor 应该是获取 a,@a,@@a 的值吧

  • 我使用的 Rails Gems 列表 at August 28, 2012

    赞一个

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