Remove class << self
Use String#prepend instead of interpolation
Make use of Ruby's quote-word syntax
Use Array#fetch instead of #[]