Sandro Paganotti
5/8/2008 12:32:00 PM
A solution can be:
#function
def contains_point(opts = { :x=>nil, :y=>nil })
end
# call
contains_point :x=>value, :y=>value
On Thu, May 8, 2008 at 11:56 AM, Jan Hegewald <hegewald@irmb.tu-bs.de> wrote:
> Dear all,
> in Objective-C it is possible to split a method name into several segments
> to be able to put a meaningful description before each argument, like
> (BOOL)containsPointX:(int)x Y:(int)y
>
> is there a ruby way to achieve something similar?
>
> Many TIA,
> -- Jan
>
>
>
--
Go outside! The graphics are amazing!