Changeset 215

Show
Ignore:
Timestamp:
09/23/2007 18:04:03 (14 months ago)
Author:
zimbatm
Message:

-8 octets by using the alias keyword instead of alias_method. Both finally ends
to the same parse tree anyways.

Location:
trunk/lib
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/lib/camping-unabridged.rb

    r214 r215  
    129129        m.to_s=~/=$/?self[$`]=a[0]:a==[]?self[m]:super 
    130130    end 
    131     alias_method :u, :regular_update 
     131    alias u regular_update 
    132132  end 
    133133 
  • trunk/lib/camping.rb

    r214 r215  
    5252|a|(h[a]=self/h[a])rescue 0};super end end;H=HashWithIndifferentAccess;class H 
    5353def method_missing m,*a;m.to_s=~/=$/?self[$`]=a[0]:a==[]?self[m]:super end 
    54 alias_method:u,:regular_update;end end 
     54alias u regular_update;end end