Class: Nanoc::Core::Checksummer::StringUpdateBehavior

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

Class Method Summary collapse

Class Method Details

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

Yields:

  • (obj.string)


182
183
184
# File 'lib/nanoc/core/checksummer.rb', line 182

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