From: Trans Date: 2008-08-14T08:44:54+09:00 Subject: [ruby-core:18280] Re: Am I right that this is wrong? On Aug 13, 6:56�pm, "Gregory Brown" wrote: > On Wed, Aug 13, 2008 at 5:43 PM, David A. Black wrote: > > > I would actually prefer there to be separate methods for all these > > permutations (and I think Jim W. agrees). I just dislike the cryptic > > "false" so much that I'd rather do almost anything else. > > Separate methods would be nice. �What would you call them, though? You guys don't think MyClass.public_instance_methods_with_ancestors Is getting to be a bit much? What about using "symbolic logic"? MyClass.instance_methods(:public & :ancestors) I've always thought ruby symbols would make an excellent alternative to integer flags. For instance I hate: Dir.glob(fooname, File::FNM_CASEFOLD) I'd much rather: Dir.glob(fooname, :casefold) T.