class PubGrub::Union
- PubGrub::Union
- PubGrub::VersionConstraint
- Reference
- Object
Defined in:
pubgrub/version/union.crConstructors
Class Method Summary
Instance Method Summary
- #==(other : Union) : Bool
- #allows?(other : VersionConstraint) : Bool
- #allows_all?(other : VersionConstraint) : Bool
- #allows_any?(other : VersionConstraint) : Bool
- #any? : Bool
- #difference(other : VersionConstraint) : VersionConstraint
- #empty? : Bool
- #include_max?
- #include_min?
- #intersect(other : VersionConstraint) : VersionConstraint
- #max
- #max?
- #min
- #min?
- #ranges : Array(Range)
-
#to_s(io : IO) : Nil
Appends a short String representation of this object which includes its class name and its object address.
- #union(other : VersionConstraint) : VersionConstraint
Instance methods inherited from class PubGrub::VersionConstraint
allows?(other : VersionConstraint) : Bool
allows?,
allows_all?(other : VersionConstraint) : Bool
allows_all?,
allows_any?(other : VersionConstraint) : Bool
allows_any?,
any? : Bool
any?,
difference(other : VersionConstraint) : VersionConstraint
difference,
empty? : Bool
empty?,
intersect(other : VersionConstraint) : VersionConstraint
intersect,
union(other : VersionConstraint) : VersionConstraint
union
Constructor Detail
Class Method Detail
Instance Method Detail
def to_s(io : IO) : Nil
#
Description copied from class Reference
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>