class GitMeThere::Author

Attributes

email[R]
name[R]

Public Class Methods

new(name, email) click to toggle source
# File lib/gitmethere/author.rb, line 5
def initialize(name, email)
  @name = name
  @email = email
end

Public Instance Methods

git_author() click to toggle source
# File lib/gitmethere/author.rb, line 10
def git_author
  "#{name} <#{email}>"
end