Class: GitCloner::Dsl

Inherits:
Object
  • Object
show all
Defined in:
lib/git_cloner_dsl.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeDsl

Returns a new instance of Dsl.



22
23
24
25
26
# File 'lib/git_cloner_dsl.rb', line 22

def initialize
  @git_cloner = GitCloner::DslModel.new
  @git_cloner.default_output = './'
  @git_cloner.repos = []
end

Instance Attribute Details

#git_clonerObject

Returns the value of attribute git_cloner.



6
7
8
# File 'lib/git_cloner_dsl.rb', line 6

def git_cloner
  @git_cloner
end