matz
11/29/2003 3:12:00 PM
Hi,
In message "Re: ruby-dev summary: 21928-22011"
on 03/11/29, Simon Strandgaard <neoneye@adslhome.dk> writes:
|Matz slide says:
|{a: 45, b: 55, c: 65} same as {:a => 45, :b => 55 :c => 65}
|
|Will it be possible to leave out spaces,
|so that {a:45, b:55, c:65} are possible ?
Possible.
|Leaving out comma, will it be possible?
|like this: {a:45 b:55 c:65}
Not possible.
|What happens if no value are specified ? nil?
|For instance 'verbose:' has no value
| copy source:"file.in" dest:"file.out" verbose:
Not possible. You always have to specify value to the keyword
arguments.
copy(source:"file.in", dest:"file.out", verbose:true)
matz.