Sha256: 72dece099e4781563146c1e4fd71eadb82d7693434c4fcd7e01c3d798d9b7cc6
Contents?: true
Size: 276 Bytes
Versions: 65
Compression:
Stored size: 276 Bytes
Contents
module Git class Author attr_accessor :name, :email, :date def initialize(author_string) if m = /(.*?) <(.*?)> (\d+) (.*)/.match(author_string) @name = m[1] @email = m[2] @date = Time.at(m[3].to_i) end end end end
Version data entries
65 entries across 65 versions & 12 rubygems