Class: GitCloner::Dsl
- Inherits:
-
Object
- Object
- GitCloner::Dsl
- Defined in:
- lib/git_cloner_dsl.rb
Instance Attribute Summary collapse
-
#git_cloner ⇒ Object
Returns the value of attribute git_cloner.
Instance Method Summary collapse
-
#initialize ⇒ Dsl
constructor
A new instance of Dsl.
Constructor Details
#initialize ⇒ Dsl
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_cloner ⇒ Object
Returns the value of attribute git_cloner.
6 7 8 |
# File 'lib/git_cloner_dsl.rb', line 6 def git_cloner @git_cloner end |