Class: ScriptifyCatalog

Inherits:
Object
  • Object
show all
Defined in:
lib/scriptify/scriptify_catalog.rb

Overview

Arguably we could use YAML, but… ¯_(ツ)_/¯

Constant Summary collapse

@@SuperScripts =
{
  :A => 'ᴬ',
  :B => 'ᴮ',
  :D => 'ᴰ',
  :E => 'ᴱ',
  :G => 'ᴳ',
  :H => 'ᴴ',
  :I => 'ᴵ',
  :J => 'ᴶ',
  :K => 'ᴷ',
  :L => 'ᴸ',
  :M => 'ᴹ',
  :N => 'ᴺ',
  :O => 'ᴼ',
  :P => 'ᴾ',
  :R => 'ᴿ',
  :T => 'ᵀ',
  :U => 'ᵁ',
  :V => 'ⱽ',
  :W => 'ᵂ',
  :a => 'ᵃ',
  :b => 'ᵇ',
  :c => 'ᶜ',
  :d => 'ᵈ',
  :e => 'ᵉ',
  :f => 'ᶠ',
  :g => 'ᵍ',
  :h => 'ʰ',
  :i => 'ⁱ',
  :j => 'ʲ',
  :k => 'ᵏ',
  :l => 'ˡ',
  :m => 'ᵐ',
  :n => 'ⁿ',
  :o => 'ᵒ',
  :p => 'ᵖ',
  :r => 'ʳ',
  :s => 'ˢ',
  :t => 'ᵗ',
  :u => 'ᵘ',
  :v => 'ᵛ',
  :w => 'ʷ',
  :x => 'ˣ',
  :y => 'ʸ',
  :z => 'ᶻ'
}.freeze
@@SubScripts =
{
  :A => 'ₐ',
  :E => 'ₑ',
  :G => 'ᴳ',
  :H => 'ᴴ',
  :I => 'ᵢ',
  :J => 'ⱼ',
  :O => 'ₒ',
  :R => 'ᵣ',
  :U => 'ᵤ',
  :V => 'ᵥ',
  :X => 'ₓ',
  :a => 'ₐ',
  :e => 'ₑ',
  :g => 'ᴳ',
  :h => 'ᴴ',
  :i => 'ᵢ',
  :j => 'ⱼ',
  :o => 'ₒ',
  :r => 'ᵣ',
  :u => 'ᵤ',
  :v => 'ᵥ',
  :x => 'ₓ'
}.freeze

Class Method Summary collapse

Class Method Details

.subscriptsObject



81
82
83
# File 'lib/scriptify/scriptify_catalog.rb', line 81

def self.subscripts
  @@SubScripts
end

.superscriptsObject



77
78
79
# File 'lib/scriptify/scriptify_catalog.rb', line 77

def self.superscripts
  @@SuperScripts
end