Method: Sunshine::Repo#initialize

Defined in:
lib/sunshine/repo.rb

#initialize(url, options = {}) ⇒ Repo

Returns a new instance of Repo.



62
63
64
65
66
67
# File 'lib/sunshine/repo.rb', line 62

def initialize url, options={}
  @scm = self.class.name.split("::").last.sub('Repo', '').downcase

  @url   = url
  @flags = [*options[:flags]].compact
end