Class: Nanoc::Core::Checksummer::CollectionUpdateBehavior
- Inherits:
-
UpdateBehavior
- Object
- UpdateBehavior
- Nanoc::Core::Checksummer::CollectionUpdateBehavior
- Defined in:
- lib/nanoc/core/checksummer.rb
Direct Known Subclasses
Class Method Summary collapse
Class Method Details
.update(obj, digest) ⇒ Object
204 205 206 207 208 209 |
# File 'lib/nanoc/core/checksummer.rb', line 204 def self.update(obj, digest) obj.each do |el| yield(el) digest.update(',') end end |