module EOAT::Cache

Collection of EOAT cache handlers @author Ivan Kotov {i.s.kotov.ws e-mail} All handlers have a public methods: get and save

Public Class Methods

md5hash(string) click to toggle source

Module method. Calculating md5 of string. Used by all cached handlers. @param [String] string @return [String] the md5 hash string

# File lib/eoat/cache/none_cache.rb, line 30
def self.md5hash(string)
  require 'digest/md5'

  return Digest::MD5.hexdigest(string.to_s)
end