Class: Nanoc::Int::Checksummer::ArrayUpdateBehavior Private
- Inherits:
-
UpdateBehavior
- Object
- UpdateBehavior
- Nanoc::Int::Checksummer::ArrayUpdateBehavior
- Defined in:
- lib/nanoc/base/checksummer.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Class Method Summary collapse
- .update(obj, digest) ⇒ Object private
Class Method Details
.update(obj, digest) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
141 142 143 144 145 146 |
# File 'lib/nanoc/base/checksummer.rb', line 141 def self.update(obj, digest) obj.each do |el| yield(el) digest.update(',') end end |