On 06/12/12 15:10, John Fereira wrote:
It starts up fine without any errors but when I run any query I get the 
following error:

../s-query:113: undefined method `start_with?' for "s-query":String 
(NoMethodError)

I have Ruby 1.8.7 and it has String::start_with? -- it hadn't occurred to me it was new in some way. Which version are you running?

It could be replaced by

 $cmd.match(/^s-/)

as it's not a performance critical.

Your are right - it's so you can invoke the commands as:

soh put ....

as well as

s-put ...

(my Ruby foo runs out at this point!)

        Andy

Reply via email to