module RepoHelper
Public Instance Methods
get_repo(environment)
click to toggle source
# File lib/punt/helper/repo_helper.rb, line 2 def get_repo(environment) env_repo = environment["repo"] repo = RepoGit.new if env_repo == "git" raise "No repo available for the given repo '#{env_repo}'" unless repo return repo end