Class: Faker::Commit
- Inherits:
-
Object
- Object
- Faker::Commit
- Defined in:
- lib/faker_fdays.rb
Class Method Summary collapse
Class Method Details
.generate ⇒ Object
6 7 8 9 10 11 12 |
# File 'lib/faker_fdays.rb', line 6 def self.generate commits = [] CSV.foreach("./lib/faker_fdays.csv") do |row| commits << row end commits.sample[0] end |