Class: SimpleChangelog::Commit

Inherits:
Struct
  • Object
show all
Defined in:
app/models/simple_changelog/commit.rb

Instance Attribute Summary collapse

Instance Attribute Details

#authorObject

Returns the value of attribute author

Returns:

  • (Object)

    the current value of author



2
3
4
# File 'app/models/simple_changelog/commit.rb', line 2

def author
  @author
end

#messageObject

Returns the value of attribute message

Returns:

  • (Object)

    the current value of message



2
3
4
# File 'app/models/simple_changelog/commit.rb', line 2

def message
  @message
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



2
3
4
# File 'app/models/simple_changelog/commit.rb', line 2

def name
  @name
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



2
3
4
# File 'app/models/simple_changelog/commit.rb', line 2

def type
  @type
end