Method: Chef::Mixin::Checksum#short_cksum
- Defined in:
- lib/chef/mixin/checksum.rb
#short_cksum(checksum) ⇒ Object
29 30 31 32 33 |
# File 'lib/chef/mixin/checksum.rb', line 29 def short_cksum(checksum) return "none" if checksum.nil? checksum.slice(0, 6) end |