Method: CaptainHook.from_path

Defined in:
lib/captain_hook.rb

.from_path(path) ⇒ Object



8
9
10
11
# File 'lib/captain_hook.rb', line 8

def self.from_path(path)
  repo = Grit::Repo.new(path)
  Base.new(repo)
end