class Release
- Release
- Reference
- Object
Defined in:
release.crConstructors
- .new(version : String, revision_info : RevisionInfo, spec : Hash(String, JSON::Any) = {} of String => JSON::Any, yanked_at : Time | Nil = nil, latest : Bool = false)
- .new(version : String, released_at : Time, revision_info : RevisionInfo | Nil = nil, spec : Hash(String, JSON::Any) = {} of String => JSON::Any, yanked_at : Time | Nil = nil, latest : Bool = false, id : Int64 | Nil = nil)
Instance Method Summary
-
#==(other : self)
Returns
true
if this reference is the same as other. - #crystal : String | Nil
- #description : String | Nil
-
#hash(hasher)
See
Object#hash(hasher)
- #id : Int64
- #id=(id : Int64)
- #id? : Int64 | Nil
- #latest? : Bool
- #license : String | Nil
- #released_at : Time
- #released_at=(released_at : Time)
- #revision_identifier
- #revision_info : RevisionInfo | Nil
- #revision_info=(revision_info : RevisionInfo | Nil)
- #revision_info? : RevisionInfo | Nil | Nil
- #spec : Hash(String, JSON::Any)
- #version : String
- #version=(version : String)
- #yanked? : Bool
- #yanked_at=(yanked_at : Time | Nil)
- #yanked_at? : Time | Nil
Constructor Detail
def self.new(version : String, revision_info : RevisionInfo, spec : Hash(String, JSON::Any) = {} of String => JSON::Any, yanked_at : Time | Nil = nil, latest : Bool = false)
#
def self.new(version : String, released_at : Time, revision_info : RevisionInfo | Nil = nil, spec : Hash(String, JSON::Any) = {} of String => JSON::Any, yanked_at : Time | Nil = nil, latest : Bool = false, id : Int64 | Nil = nil)
#
Instance Method Detail
def ==(other : self)
#
Description copied from class Reference
Returns true
if this reference is the same as other. Invokes same?
.