Class: Nanoc::Int::Checksummer::ToSUpdateBehavior Private

Inherits:
UpdateBehavior show all
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

Class Method Details

.update(obj, _digest) {|obj.to_s| ... } ⇒ 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.

Yields:

  • (obj.to_s)


106
107
108
# File 'lib/nanoc/base/checksummer.rb', line 106

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