Class: Hubload::Commit::Author

Inherits:
Object
  • Object
show all
Defined in:
lib/hubload/commit.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, email) ⇒ Author

Returns a new instance of Author.



43
44
45
46
# File 'lib/hubload/commit.rb', line 43

def initialize(name, email)
  @name = name
  @email = email
end

Instance Attribute Details

#emailObject

Returns the value of attribute email.



41
42
43
# File 'lib/hubload/commit.rb', line 41

def email
  @email
end

#nameObject

Returns the value of attribute name.



41
42
43
# File 'lib/hubload/commit.rb', line 41

def name
  @name
end