Class: Schmersion::Commit
- Inherits:
-
Object
- Object
- Schmersion::Commit
- Defined in:
- lib/schmersion/commit.rb
Instance Attribute Summary collapse
-
#author ⇒ Object
readonly
Returns the value of attribute author.
-
#date ⇒ Object
readonly
Returns the value of attribute date.
-
#message ⇒ Object
readonly
Returns the value of attribute message.
-
#raw_commit ⇒ Object
readonly
Returns the value of attribute raw_commit.
-
#ref ⇒ Object
readonly
Returns the value of attribute ref.
Instance Method Summary collapse
-
#initialize(commit) ⇒ Commit
constructor
A new instance of Commit.
Constructor Details
Instance Attribute Details
#author ⇒ Object (readonly)
Returns the value of attribute author.
11 12 13 |
# File 'lib/schmersion/commit.rb', line 11 def @author end |
#date ⇒ Object (readonly)
Returns the value of attribute date.
10 11 12 |
# File 'lib/schmersion/commit.rb', line 10 def date @date end |
#message ⇒ Object (readonly)
Returns the value of attribute message.
8 9 10 |
# File 'lib/schmersion/commit.rb', line 8 def @message end |
#raw_commit ⇒ Object (readonly)
Returns the value of attribute raw_commit.
12 13 14 |
# File 'lib/schmersion/commit.rb', line 12 def raw_commit @raw_commit end |
#ref ⇒ Object (readonly)
Returns the value of attribute ref.
9 10 11 |
# File 'lib/schmersion/commit.rb', line 9 def ref @ref end |