Class: GitCurate::Commit

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

Instance Attribute Summary collapse

Instance Attribute Details

#authorObject

Returns the value of attribute author

Returns:

  • (Object)

    the current value of author



3
4
5
# File 'lib/git_curate/commit.rb', line 3

def author
  @author
end

#dateObject

Returns the value of attribute date

Returns:

  • (Object)

    the current value of date



3
4
5
# File 'lib/git_curate/commit.rb', line 3

def date
  @date
end

#hashObject

Returns the value of attribute hash

Returns:

  • (Object)

    the current value of hash



3
4
5
# File 'lib/git_curate/commit.rb', line 3

def hash
  @hash
end

#subjectObject

Returns the value of attribute subject

Returns:

  • (Object)

    the current value of subject



3
4
5
# File 'lib/git_curate/commit.rb', line 3

def subject
  @subject
end