class Base32::Configuration
Constants
- MAPPING
Attributes
format[R]
Public Class Methods
new()
click to toggle source
# File lib/base32-alphabets/base32.rb, line 20 def initialize @format = Kai end
Public Instance Methods
format=(value)
click to toggle source
# File lib/base32-alphabets/base32.rb, line 24 def format=(value) if value.is_a? Symbol @format = MAPPING[ value ] else ## assume class @format = value end end