Module: Phashion

Defined in:
lib/phashion.rb,
lib/phashion/version.rb

Defined Under Namespace

Classes: Image

Constant Summary collapse

VERSION =
'1.1.1'

Class Method Summary collapse

Class Method Details

.mh_hash_for(filename, alpha = 2.0, lvl = 1.0) ⇒ Object



44
45
46
# File 'lib/phashion.rb', line 44

def self.mh_hash_for(filename, alpha = 2.0, lvl = 1.0)
  _mh_hash_for(filename, alpha, lvl)
end

.so_fileObject



48
49
50
51
# File 'lib/phashion.rb', line 48

def self.so_file
  extname = RbConfig::CONFIG['DLEXT']
  File.join File.dirname(__FILE__), "phashion_ext.#{extname}"
end