Class: Nanoc::Int::Checksummer::VerboseDigest Private
- Inherits:
-
Object
- Object
- Nanoc::Int::Checksummer::VerboseDigest
- 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
-
#initialize ⇒ VerboseDigest
constructor
private
A new instance of VerboseDigest.
- #to_s ⇒ Object private
- #update(str) ⇒ Object private
Constructor Details
#initialize ⇒ VerboseDigest
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_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.
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 |