Class: Cloner
- Inherits:
-
Object
- Object
- Cloner
- Includes:
- Github
- Defined in:
- lib/github_cloner.rb,
lib/github_cloner/version.rb
Defined Under Namespace
Modules: Version
Constant Summary
Constants included from Github
Instance Method Summary collapse
- #clone ⇒ Object
-
#initialize(options) ⇒ Cloner
constructor
A new instance of Cloner.
Methods included from Github
get_repos, git_config_name, inactive?, make_git_url
Constructor Details
#initialize(options) ⇒ Cloner
Returns a new instance of Cloner.
7 8 9 10 11 12 13 |
# File 'lib/github_cloner.rb', line 7 def initialize() @github_uname = [:username] @mode = [:method] @path = [:path] @timeout = [:timeout] @repos = [:repos] end |