module Cryptogram::Presets::Alphabets

Constants

ALPHABETS

Public Class Methods

fetch(alphabet_name) click to toggle source
# File lib/cryptogram/presets/alphabets.rb, line 10
def fetch(alphabet_name)
  ALPHABETS.fetch(alphabet_name) do
    raise ArgumentError, "Unrecognized alphabet preset: #{alphabet_name}"
  end
end