Class: Base32::Decoder
- Inherits:
-
Object
- Object
- Base32::Decoder
- Defined in:
- lib/base32/decoder.rb
Instance Attribute Summary collapse
-
#alphabet ⇒ Object
readonly
Returns the value of attribute alphabet.
-
#str ⇒ Object
readonly
Returns the value of attribute str.
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(str, alphabet = Base32::Alphabet::CHARS) ⇒ Decoder
constructor
A new instance of Decoder.
Constructor Details
Instance Attribute Details
#alphabet ⇒ Object (readonly)
Returns the value of attribute alphabet.
5 6 7 |
# File 'lib/base32/decoder.rb', line 5 def alphabet @alphabet end |
#str ⇒ Object (readonly)
Returns the value of attribute str.
5 6 7 |
# File 'lib/base32/decoder.rb', line 5 def str @str end |