Method: VCLog::ChangeLog#by_author

Defined in:
lib/vclog/changelog.rb

#by_authorObject



136
137
138
139
140
141
142
143
# File 'lib/vclog/changelog.rb', line 136

def by_author
  mapped = {}
  changes.each do |entry|
    mapped[entry.author] ||= self.class.new
    mapped[entry.author] << entry
  end
  mapped
end