Class: GitSnip::Branch::Row

Inherits:
Struct
  • Object
show all
Defined in:
lib/git_snip/branch.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_snip/branch.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_snip/branch.rb', line 3

def date
  @date
end

#messageObject

Returns the value of attribute message

Returns:

  • (Object)

    the current value of message



3
4
5
# File 'lib/git_snip/branch.rb', line 3

def message
  @message
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



3
4
5
# File 'lib/git_snip/branch.rb', line 3

def name
  @name
end

#shaObject

Returns the value of attribute sha

Returns:

  • (Object)

    the current value of sha



3
4
5
# File 'lib/git_snip/branch.rb', line 3

def sha
  @sha
end