Module: GitHelper

Defined in:
app/helpers/git_helper.rb

Instance Method Summary collapse

Instance Method Details

#strip_gpg_signature(text) ⇒ Object


2
3
4
# File 'app/helpers/git_helper.rb', line 2

def strip_gpg_signature(text)
  text.gsub(/-----BEGIN PGP SIGNATURE-----(.*)-----END PGP SIGNATURE-----/m, "")
end