Module: Proctor::Util::Helpers

Included in:
Config::AppFile, Config::TemplateFile, Manager, Node, Service
Defined in:
lib/proctor/util/helpers.rb

Instance Method Summary collapse

Instance Method Details

#md5_handle(string) ⇒ Object



7
8
9
# File 'lib/proctor/util/helpers.rb', line 7

def md5_handle(string)
  Digest::MD5.hexdigest(string)[0..2]
end