search for: miscfunct

Displaying 1 result from an estimated 1 matches for "miscfunct".

Did you mean: iscfuncs
2006 Mar 19
4
function names contain regex?
Is it possible to support something like the following: def validate_address{#/d/#) x = {#1} miscfunction(x) end And yes, I totally just made up some bogus syntax - I have no idea if a variable function name containing a regular expression is possible... perhaps through some trick of aliasing? I figure it must be possible, due to the model.find_x_and_y() methods in ActiveRecord. Bonus question...