Class: Hubload::Commit::Author
- Inherits:
-
Object
- Object
- Hubload::Commit::Author
- Defined in:
- lib/hubload/commit.rb
Instance Attribute Summary collapse
-
#email ⇒ Object
Returns the value of attribute email.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name, email) ⇒ Author
constructor
A new instance of Author.
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
#email ⇒ Object
Returns the value of attribute email.
41 42 43 |
# File 'lib/hubload/commit.rb', line 41 def email @email end |
#name ⇒ Object
Returns the value of attribute name.
41 42 43 |
# File 'lib/hubload/commit.rb', line 41 def name @name end |