class Sashite::Snn::Style
def self.validate_letter(letter)
-
(ArgumentError)
- if invalid
Parameters:
-
letter
(Symbol
) -- the letter to validate
def self.validate_letter(letter) return if valid_letter?(letter) raise ::ArgumentError, format(ERROR_INVALID_LETTER, letter.inspect) end