Method: FaaStRuby.crystal_present_and_supported?

Defined in:
lib/faastruby/server.rb

.crystal_present_and_supported?Boolean

Returns:

  • (Boolean)


16
17
18
# File 'lib/faastruby/server.rb', line 16

def self.crystal_present_and_supported?
  system("which crystal >/dev/null") && version_match?(SUPPORTED_CRYSTAL, get_crystal_version)
end