From: Intransition on 5 May 2010 13:47 Why? class X def self.yeah; 'yeah'; end end X.public_methods(false) => ["yaml_tag_subclasses?", "yeah", "superclass", "to_yaml", "allocate", "new"] X.methods(false) => ["yeah"]
|
Pages: 1 Prev: How to use Ruby portable? Next: Ruby Equivalent of "Pythonista" |