Module: Sprinkle::Package::Rendering::Helpers
- Included in:
- Verify
- Defined in:
- lib/sprinkle/package/rendering.rb
Overview
Helper methods can be called from inside your package and verification code
Instance Method Summary collapse
-
#md5(s) ⇒ Object
return the md5 of a string (as a hex string).
Instance Method Details
#md5(s) ⇒ Object
return the md5 of a string (as a hex string)
32 33 34 |
# File 'lib/sprinkle/package/rendering.rb', line 32 def md5(s) Digest::MD5.hexdigest(s) end |