Method: GithubSnapshot::Organization#backup
- Defined in:
- lib/github_snapshot/organization.rb
#backup ⇒ Object
14 15 16 17 18 19 20 |
# File 'lib/github_snapshot/organization.rb', line 14 def backup repos.to_a.each do |repo| GithubSnapshot.exec "mkdir -p #{name}" repository = Repository.new repo, self repository.backup end end |