Method: Bundler::Dsl#initialize
- Defined in:
- lib/bundler/dsl.rb
#initialize ⇒ Dsl
Returns a new instance of Dsl.
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 |
# File 'lib/bundler/dsl.rb', line 27 def initialize @source = nil @sources = SourceList.new @git_sources = {} @dependencies = [] @groups = [] @install_conditionals = [] @optional_groups = [] @platforms = [] @env = nil @ruby_version = nil @gemspecs = [] @gemfile = nil @gemfiles = [] add_git_sources end |