Class: Bundler::Dependencies::CLI::Command

Inherits:
Thor
  • Object
show all
Defined in:
lib/bundler/dependencies/cli/command.rb

Direct Known Subclasses

Count, Find, Graph

Constant Summary collapse

RAILS_GEMS =
%w(
  rails actioncable actionmailbox actionmailer actionpack actiontext actionview
  activejob activemodel activerecord activestorage activesupport railties
).freeze

Instance Method Summary collapse

Constructor Details

#initialize(options) ⇒ Command

Returns a new instance of Command.



10
11
12
13
# File 'lib/bundler/dependencies/cli/command.rb', line 10

def initialize(options)
  @options = options
  self.shell = Thor::Shell::Basic.new unless options.color?
end