Method for OptionParser makes it easier for applications to reuse. #402

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants
@trans

trans commented Jul 6, 2012

I separated the option parser into a cached method, so that it can be reused by other applications. I presently find myself in this situation where I am creating a CLI front-end for starting up a rack server, but need to support a couple of additional options. Rather then having to duplicate all these options in my own OptionParser it would be convenient to just augment Racks built-in one.

@raggi

This comment has been minimized.

Show comment Hide comment
@raggi

raggi Aug 26, 2012

Member

Test please

Member

raggi commented Aug 26, 2012

Test please

@raggi raggi closed this Dec 30, 2012

@trans

This comment has been minimized.

Show comment Hide comment
@trans

trans Dec 30, 2012

This is a tiny refactor. There is nothing new to test. It should already be tested by current tests. If it's not already tested, then there were never any tests to begin with.

trans commented Dec 30, 2012

This is a tiny refactor. There is nothing new to test. It should already be tested by current tests. If it's not already tested, then there were never any tests to begin with.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment