Class: Lazylead::Git::Commit

Inherits:
Object
  • Object
show all
Defined in:
lib/lazylead/task/git/git.rb

Overview

SVN commit built from command-line stdout (OS#run).

Instance Method Summary collapse

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

#authorObject

TODO:

#/DEV Git Commit#author implementation is required based on ‘git` ruby gem



50
# File 'lib/lazylead/task/git/git.rb', line 50

def author; end

#headerObject

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

#idObject

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

Returns:

  • (Boolean)


66
# File 'lib/lazylead/task/git/git.rb', line 66

def includes?(text); end

#linesObject

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

#msgObject

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

#timeObject

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_sObject



42
43
44
# File 'lib/lazylead/task/git/git.rb', line 42

def to_s
  "#{id} #{msg}"
end