Class: Safer::HashProtocol::Base
- Inherits:
-
Object
- Object
- Safer::HashProtocol::Base
- Defined in:
- lib/safer/hashprotocol.rb
Overview
Base class of all classes exported from Safer::HashProtocol. Implements ProtocolBase#description signature.
Instance Method Summary collapse
-
#initialize(description) ⇒ Base
constructor
Store
description
into the #description reader attribute. -
#self ⇒ Object
:attr_reader: description Human-readable description of this HashProtocol.
Constructor Details
#initialize(description) ⇒ Base
Store description
into the #description reader attribute.
91 92 93 |
# File 'lib/safer/hashprotocol.rb', line 91 def initialize(description) self.safer_hashprotocol_base__description = description end |