class AnyStyle::Feature::Canonical

Public Instance Methods

observe(token, alpha:, **opts) click to toggle source
   # File lib/anystyle/feature/canonical.rb
 4 def observe(token, alpha:, **opts)
 5   if alpha.empty?
 6     :BLANK
 7   else
 8     canonize alpha
 9   end
10 end