Class: Bundler::Reorganizer::CLI
- Inherits:
-
Thor::Group
- Object
- Thor::Group
- Bundler::Reorganizer::CLI
- Defined in:
- lib/bundler/reorganizer/cli.rb
Constant Summary collapse
- DEFAULT_GROUP =
[:default]
Instance Attribute Summary collapse
-
#current_group ⇒ Object
Returns the value of attribute current_group.
-
#groups ⇒ Object
Returns the value of attribute groups.
-
#rubies ⇒ Object
Returns the value of attribute rubies.
-
#sources ⇒ Object
Returns the value of attribute sources.
Instance Method Summary collapse
Instance Attribute Details
#current_group ⇒ Object
Returns the value of attribute current_group.
7 8 9 |
# File 'lib/bundler/reorganizer/cli.rb', line 7 def current_group @current_group end |
#groups ⇒ Object
Returns the value of attribute groups.
7 8 9 |
# File 'lib/bundler/reorganizer/cli.rb', line 7 def groups @groups end |
#rubies ⇒ Object
Returns the value of attribute rubies.
7 8 9 |
# File 'lib/bundler/reorganizer/cli.rb', line 7 def rubies @rubies end |
#sources ⇒ Object
Returns the value of attribute sources.
7 8 9 |
# File 'lib/bundler/reorganizer/cli.rb', line 7 def sources @sources end |
Instance Method Details
#reorganize ⇒ Object
12 13 14 15 16 17 18 19 |
# File 'lib/bundler/reorganizer/cli.rb', line 12 def reorganize @sources = [] @rubies = [] @groups = {} parse_gemfile output_gemfile end |