Class: Nanoc::Core::Checksummer::VerboseDigest
- Inherits:
-
Object
- Object
- Nanoc::Core::Checksummer::VerboseDigest
- Defined in:
- lib/nanoc/core/checksummer.rb
Instance Method Summary collapse
-
#initialize ⇒ VerboseDigest
constructor
A new instance of VerboseDigest.
- #to_s ⇒ Object
- #update(str) ⇒ Object
Constructor Details
#initialize ⇒ VerboseDigest
Returns a new instance of VerboseDigest.
11 12 13 |
# File 'lib/nanoc/core/checksummer.rb', line 11 def initialize @str = +'' end |
Instance Method Details
#to_s ⇒ Object
19 20 21 |
# File 'lib/nanoc/core/checksummer.rb', line 19 def to_s @str end |
#update(str) ⇒ Object
15 16 17 |
# File 'lib/nanoc/core/checksummer.rb', line 15 def update(str) @str << str end |