Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modular #3

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Modular #3

wants to merge 3 commits into from

Conversation

c-lliope
Copy link

Motivation

I wanted to add other functionality, but I wasn't sure where to do it. There wasn't a centralized class for the application, and everything seemed to be thrown under bin/annyong.

Checking out some other gems, like Rake, it seems like the best practice is to keep the bin file short and simple, and have the functionality in an Application class.

Changes

I moved the options parsing and the server initialization into an Application class, to simplify the bin/annyong file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant