Class: Nanoc::Int::Checksummer::VerboseDigest Private

Inherits:
Object
  • Object
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.

Instance Method Summary collapse

Constructor Details

#initializeVerboseDigest

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.

Returns a new instance of VerboseDigest.



10
11
12
# File 'lib/nanoc/base/checksummer.rb', line 10

def initialize
  @str = ''
end

Instance Method Details

#to_sObject

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.



18
19
20
# File 'lib/nanoc/base/checksummer.rb', line 18

def to_s
  @str
end

#update(str) ⇒ 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.



14
15
16
# File 'lib/nanoc/base/checksummer.rb', line 14

def update(str)
  @str << str
end