Eric Hodel
2/10/2007 8:46:00 PM
On Feb 10, 2007, at 12:42, Bharat Ruparel wrote:
> Lastly, this may be a silly question, but the backquote (`0) command
> redefinition however does not make sense to me. Seems to me that the
> backquote symbol is being redefined as follows:
>
> def `(cmd)
>
> This is only redefining the backquote character `
>
> but the method is invoked as `dir` or `date`
>
> What happens to the closing quote? Is this not odd?
The syntax `cmd` calls the method #` You don't need the closing
quote in the method definition.