davetron5000 / optparse-plus

Start your command line scripts off right in Ruby
http://davetron5000.github.com/optparse-plus
Apache License 2.0
521 stars 54 forks source link

including Methadone::CLILogger in class gives `wrong argument type Class` #97

Closed fawaf closed 8 years ago

fawaf commented 8 years ago

this is following the instructions given here: http://naildrivin5.com/methadone/rdoc/classes/Methadone/CLILogging.html

sch0rsch commented 8 years ago

There is a simple typo. Use Methadone::CLILogging instead of Methadone::CLILogger. See pull request #98

davetron5000 commented 8 years ago

Should be fixed in latest release and update on the RDoc. Thanks @sch0rsch for the fix!