Skip to content

Commit

Permalink
Clean up circular requires
Browse files Browse the repository at this point in the history
  • Loading branch information
ggilder committed Feb 16, 2015
1 parent 9347487 commit 45ec74d
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 8 deletions.
1 change: 1 addition & 0 deletions lib/commander.rb
Expand Up @@ -30,5 +30,6 @@
require 'commander/command'
require 'commander/help_formatters'
require 'commander/platform'
require 'commander/delegates'
require 'commander/methods'
require 'commander/configure'
3 changes: 0 additions & 3 deletions lib/commander/configure.rb
@@ -1,6 +1,3 @@
require 'commander'
require 'commander/methods'

module Commander
def configure(*configuration_opts, &configuration_block)
configuration_module = Module.new
Expand Down
2 changes: 0 additions & 2 deletions lib/commander/import.rb
@@ -1,6 +1,4 @@

require 'commander'
require 'commander/delegates'

include Commander::UI
include Commander::UI::AskForClass
Expand Down
3 changes: 0 additions & 3 deletions lib/commander/methods.rb
@@ -1,6 +1,3 @@
require 'commander'
require 'commander/delegates'

module Commander::Methods
include Commander::UI
include Commander::UI::AskForClass
Expand Down

0 comments on commit 45ec74d

Please sign in to comment.