Class: Nanoc::Core::Checksummer::DataUpdateBehavior

Inherits:
UpdateBehavior show all
Defined in:
lib/nanoc/core/checksummer.rb

Class Method Summary collapse

Class Method Details

.update(obj, _digest) {|obj.data| ... } ⇒ Object

Yields:

  • (obj.data)


188
189
190
# File 'lib/nanoc/core/checksummer.rb', line 188

def self.update(obj, _digest)
  yield(obj.data)
end