DohUtil is a library designed to help simplify application development (includes location / etc.), and for miscellaneous ruby enhancements.
Sample code exists in the sample directory. If you run it like so:
sample/sample.rb -b override-arg-2 1 2 3
The output will look like:
importing sample_library_file
argument1 is: defaultvalue
argument2 is: override-arg-2
varargs: ["1", "2", "3"]