Class: Base58::Configuration
- Inherits:
-
Object
- Object
- Base58::Configuration
- Defined in:
- lib/base58-alphabets/base58.rb
Constant Summary collapse
- MAPPING =
{ bitcoin: Bitcoin, ## flickr: Flickr, }
Instance Attribute Summary collapse
-
#format ⇒ Object
Returns the value of attribute format.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
14 15 16 |
# File 'lib/base58-alphabets/base58.rb', line 14 def initialize @format = Bitcoin end |
Instance Attribute Details
#format ⇒ Object
Returns the value of attribute format.
12 13 14 |
# File 'lib/base58-alphabets/base58.rb', line 12 def format @format end |