Module: Paperclip::Commands::ImageMagick::VersionDetector

Extended by:
VersionDetector
Included in:
VersionDetector
Defined in:
lib/paperclip/commands/imagemagick/version_detector.rb

Instance Method Summary collapse

Instance Method Details

#detected_versionObject

Returns 6, 7, or nil (not installed)



10
11
12
13
14
# File 'lib/paperclip/commands/imagemagick/version_detector.rb', line 10

def detected_version
  return @detected_version if defined?(@detected_version)

  @detected_version = detect
end