Parent

Methods

Files

Git::Author

Attributes

name[RW]
email[RW]
date[RW]

Public Class Methods

new(author_string) click to toggle source
    # File lib/git/author.rb, line 5
 5:     def initialize(author_string)
 6:       if m = /(.*?) <(.*?)> (\d+) (.*)/.match(author_string)
 7:         @name = m[1]
 8:         @email = m[2]
 9:         @date = Time.at(m[3].to_i)
10:       end
11:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.