> >> Hi,
> >>
> >> It's what you code since last meeting ?
> >>
> >> Captain
> >>
I have take the opthash which work well and i have had some code

+++listoptarray = Array.new

....
+                       else
+++                    listoptarray.push(value[0])
+++                   if(value[1] != 0)
+++                     listoptarray.push(value[1])
+++                      end
....

+++        listoptarray.each { |value2|
+++               if(value2 == value)
+++               $stderr.print( "Argument Error : #{value} is an option\n" )
+++               exit(-1)
+++              end
+++       }

> > How it works?
> > Can you make an example file please.
> >
yes for sure, you look at the files pushed, the one which is called
test.rb is for test

~/git/master/rimelse/elseopt % ruby test.rb --config testarg1 --action --config
Argument Error : --config is an option
~/git/master/rimelse/elseopt :( %


> > PS: What IDE use to make your ruby code? If you use VIM can you tab space
> > please :
> > In your .vimrc:
> > set ts=4 sw=4 noexpandtab

no problem sysde i will adapt myself to your dev spec

> We can avoid to all have the same .vimrc file by putting that in a footer in
> the file. I did it for some tex file, but a lot of projet used that. It
> can be used as example.
>
good idea

-- 
alxx
Be different, Be ELSE

--
[email protected]
Unsubscribe: [EMAIL PROTECTED]
Archives: http://lists.else-projects.org/archives/devel
Jabber-MUC: [EMAIL PROTECTED]

Reply via email to