Module: Lumise::Which::Curl

Defined in:
lib/lumise/which/curl.rb

Constant Summary collapse

CurlError =
Class.new(Error)

Class Method Summary collapse

Class Method Details

.callObject



10
11
12
13
14
15
16
# File 'lib/lumise/which/curl.rb', line 10

def call
  if curl_exists?
    curl_v
  else
    raise CurlError, "Couldn't find curl"
  end
end