Method: CodeCache::Repo#initialize
- Defined in:
- lib/code_cache/repo.rb
#initialize(url, options = {}) ⇒ Repo
Returns a new instance of Repo.
9 10 11 12 13 14 |
# File 'lib/code_cache/repo.rb', line 9 def initialize(url, = {}) @cache = [:cache] || '/tmp/code_cache' @url = url check_repo(url) end |