Google Groups Home
Help | Sign in
Group info
Members: 5
Activity: Low activity
Language: English
Group categories: Not categorized
More group info »
Discussions
View:  Topic list, Topic summary Topics 1 - 2 of 2

You cannot post messages because only members can post, and you are not currently a member.
Description: The official mailing list for Jay Phillips' Ruby Methodphitamine gem. Post any bugs, comments or feature suggestions here!
 

How about handling more than one block argument? 
  Here is one possible way to do it: module Kernel protected def it() It.new end alias its it end class It undef_method(*(instance_method s - %w*__id__ __send__*)) def initialize @methods = [] end def method_missing(*args, &block) @methods << [args, block] unless args == [:respond_to?, :to_proc]... more »
By stuart.halloway@gmail.com  - Aug 19 2007 - 1 new of 1 message    

Slight improvement 
  I commented on your original blog post, but you also encouraged people to post improvements or suggetsions here, so pardon the crosspost of sorts. I posted a slight improvement[1] to Methodphitamine on my blog. Long story short, I add respond_to? to the list of methods to keep around, which lets you take out the hack in method_missing to detect it being... more »
By Stephen Touset  - Aug 12 2007 - 2 new of 3 messages    

No more topics in this group.
1 - 2 of 2

XML       Send email to this group: methodphitamine@googlegroups.com
Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google