Commit Graph

8 Commits

Author SHA1 Message Date
Renato Silva b4f53dbcb6 Declare encoding of the Ruby implementation as UTF-8. 2014-12-02 21:13:28 -02:00
Renato Silva f700bb7ed2 Use single-quoted strings in Ruby implementation. 2014-12-02 21:11:18 -02:00
Renato Silva 6b1b678e2e Use modules in Ruby implementation.
Options, arguments and the help text are now also avaialble as EasyOptions.options, EasyOptions.arguments and EasyOptions.documentation. The global variables $options, $arguments and $documentation are still present.
2014-12-02 00:37:32 -02:00
Renato Silva 8da3c83852 Replace the old `string' quoting style with double quotes. 2014-09-15 17:06:26 -03:00
Renato Silva 3d8b0c3e15 Avoid variable exporting for Bash scripts.
Exporting should not be required and it may lead to security issues, for example access of a --password option by other applications.
2014-09-11 00:48:49 -03:00
Renato Silva 3faceb97dd Fix next option mistook for value of current option in Ruby version.
For example, if --foo requires a value and --foo --bar is specified in command line, then --bar would be mistakenly recognized as the value for --foo. Now a proper error is raised requiring a value for --foo.
2014-08-03 08:24:34 -03:00
Renato Silva ce37a808f1 Fix exit command in a Bash example. 2014-07-23 22:31:27 -03:00
Renato Silva 3c3c8bba09 Initial commit. 2014-07-09 17:59:03 -03:00