Method: Integrity::SCM::Git#with_revision

Defined in:
lib/integrity/scm/git.rb

#with_revision(revision) ⇒ Object



23
24
25
26
27
# File 'lib/integrity/scm/git.rb', line 23

def with_revision(revision)
  fetch_code
  checkout(revision)
  yield
end