class Commit

Defined in:

changelog.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(hash : String, time : Time, type : String, scope : Nil | String = nil, subject : Nil | String = nil, body : Nil | String = nil) #

[View source]

Instance Method Detail

def body : String | Nil #

[View source]
def body=(body : String | Nil) #

[View source]
def breaking : Bool #

[View source]
def breaking=(breaking : Bool) #

[View source]
def closed_issues : Array(Int32) #

[View source]
def fixed_issues : Array(Int32) #

[View source]
def hash : String #
Description copied from class Object

Generates an UInt64 hash value for this object.

This method must have the property that a == b implies a.hash == b.hash.

The hash value is used along with == by the Hash class to determine if two objects reference the same hash key.

Subclasses must not override this method. Instead, they must define hash(hasher), though usually the macro def_hash can be used to generate this method.


[View source]
def hash=(hash : String) #

[View source]
def resolved_issues : Array(Int32) #

[View source]
def scope : String | Nil #

[View source]
def scope=(scope : String | Nil) #

[View source]
def subject : String | Nil #

[View source]
def subject=(subject : String | Nil) #

[View source]
def time : Time #

[View source]
def time=(time : Time) #

[View source]
def type : String #

[View source]
def type=(type : String) #

[View source]