Class: Lazylead::Git::Commit
- Inherits:
-
Object
- Object
- Lazylead::Git::Commit
- Defined in:
- lib/lazylead/task/git/git.rb
Overview
SVN commit built from command-line stdout (OS#run).
Instance Method Summary collapse
- #author ⇒ Object
- #header ⇒ Object
- #id ⇒ Object
-
#includes?(text) ⇒ Boolean
The modified lines contains expected text.
-
#initialize(raw) ⇒ Commit
constructor
A new instance of Commit.
- #lines ⇒ Object
- #msg ⇒ Object
- #time ⇒ Object
- #to_s ⇒ Object
Constructor Details
#initialize(raw) ⇒ Commit
Returns a new instance of Commit.
38 39 40 |
# File 'lib/lazylead/task/git/git.rb', line 38 def initialize(raw) @raw = raw end |
Instance Method Details
#author ⇒ Object
TODO:
#/DEV Git Commit#author implementation is required based on ‘git` ruby gem
50 |
# File 'lib/lazylead/task/git/git.rb', line 50 def ; end |
#header ⇒ Object
TODO:
#/DEV Git Commit#header implementation is required based on ‘git` ruby gem
62 |
# File 'lib/lazylead/task/git/git.rb', line 62 def header; end |
#id ⇒ Object
TODO:
#/DEV Git Commit#id implementation is required based on ‘git` ruby gem
47 |
# File 'lib/lazylead/task/git/git.rb', line 47 def id; end |
#includes?(text) ⇒ Boolean
TODO:
#/DEV Git Commit#includes? implementation is required based on ‘git` ruby gem
The modified lines contains expected text
66 |
# File 'lib/lazylead/task/git/git.rb', line 66 def includes?(text); end |
#lines ⇒ Object
TODO:
#/DEV Git Commit#lines implementation is required based on ‘git` ruby gem
59 |
# File 'lib/lazylead/task/git/git.rb', line 59 def lines; end |
#msg ⇒ Object
TODO:
#/DEV Git Commit#msg implementation is required based on ‘git` ruby gem
56 |
# File 'lib/lazylead/task/git/git.rb', line 56 def msg; end |
#time ⇒ Object
TODO:
#/DEV Git Commit#time implementation is required based on ‘git` ruby gem
53 |
# File 'lib/lazylead/task/git/git.rb', line 53 def time; end |
#to_s ⇒ Object
42 43 44 |
# File 'lib/lazylead/task/git/git.rb', line 42 def to_s "#{id} #{msg}" end |