lib/solve/constraint.rb
# Returns true or false if the given version would be satisfied by
# the version constraint.
#
# @param [Semverse::Version, #to_s] target
#
# @return [Boolean]
Returns true or false if the given version would be satisfied by
the version constraint.
Returns true or false if the given version would be satisfied by the version constraint .
def satisfies?(target)
      target = Semverse::Version.coerce(target)
      return false if !(version == 0) && greedy_match?(target)
      compare(target)
    end
def satisfies? ( target ) target = Semverse :: Version . coerce ( target ) return false if ! ( version == 0 ) && greedy_match? ( target ) compare ( target ) end
Returns true or false if the given version would be satisfied by
the version constraint.
Returns true or false if the given version would be satisfied by the version constraint .
None
Boolean
target
<not_specific>
<not_specific>
None