Repo::Ref
Inherits Comparable < JSON::Serializable < Struct < Value < Object
Constants
PROVIDER_RESOLVERS = {"github", "gitlab", "bitbucket"}
Constructors
new(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceClass methods
Instance methods
<=>(other : self)
Source==(other : self)
base_url_raw(refname = nil)
Sourcebase_url_source(refname = nil)
Sourcehash(hasher)
See Object#hash(hasher)
inspect(io : IO)
Appends this struct's name and instance variables names and values to the given IO.
struct Point
def initialize(@x : Int32, @y : Int32)
end
end
p1 = Point.new 1, 2
p1.to_s # "Point(@x=1, @y=2)"
p1.inspect # "Point(@x=1, @y=2)"
name
Sourcenice_url
Sourceowner
Sourceresolvable?
Sourceresolver
Sourceslug
Sourceto_uri
Sourceurl
Source