class

Shards::Resolver

Inherits Reference < Object

Constructors

new(name : String, source : String)
Source

Class methods

build(key : String, name : String, source : String)
Source
clear_resolver_cache
Source
find_class(key : String) : Resolver.class | Nil
Source
find_resolver(key : String, name : String, source : String)
Source
normalize_key_source(key : String, source : String)
Source
register_resolver(key, resolver)
Source

Instance methods

==(other : Resolver)
Source
available_releases
Source
install_sources(version : Version, install_path : String)
Source
latest_version_for_ref(ref : Ref | Nil) : Version
Source
matches_ref?(ref : Ref, version : Version)
Source
name
Source
parse_requirement(params : Hash(String, String)) : Requirement
Source
read_spec(version : Version) : String | Nil
Source
report_version(version : Version) : String
Source
source
Source
spec(version : Version) : Spec
Source
to_s(io : IO)

Appends a short String representation of this object which includes its class name and its object address.

class Person
  def initialize(@name : String, @age : Int32)
  end
end

Person.new("John", 32).to_s # => #<Person:0x10a199f20>
Source
update_local_cache
Source
versions_for(req : Requirement) : Array(Version)
Source
yaml_source_entry
Source