Method: Bundler::CLI::Inject#initialize
- Defined in:
- lib/bundler/cli/inject.rb
#initialize(options, name, version) ⇒ Inject
Returns a new instance of Inject.
6 7 8 9 10 11 12 13 |
# File 'lib/bundler/cli/inject.rb', line 6 def initialize(, name, version) @options = @name = name @version = version || last_version_number @group = [:group].split(",") unless [:group].nil? @source = [:source] @gems = [] end |