Class: Osrcry::Contributors
- Inherits:
-
Object
- Object
- Osrcry::Contributors
- Defined in:
- lib/osrcry/contributors.rb
Class Method Summary collapse
Class Method Details
.execute ⇒ Object
3 4 5 6 7 8 9 |
# File 'lib/osrcry/contributors.rb', line 3 def self.execute collaborators = `git log --pretty=format:"* %an <%ae>"`.split("\n").uniq.sort File.open('CONTRIBUTORS.md', 'w') do |file| file.write(collaborators.join("\n")) end end |