Method: FaaStRuby.version_match?

Defined in:
lib/faastruby/server.rb

.version_match?(supported, current) ⇒ Boolean

Returns:



24
25
26
27
# File 'lib/faastruby/server.rb', line 24

def self.version_match?(supported, current)
  supported.each {|supported_version| return true if Gem::Dependency.new('', supported_version).match?('', current)}
  return false
end