class Sashite::Snn::Style

def self.validate_side(side)

Raises:
  • (ArgumentError) - if invalid

Parameters:
  • side (Symbol) -- the side to validate
def self.validate_side(side)
  return if VALID_SIDES.include?(side)
  raise ::ArgumentError, format(ERROR_INVALID_SIDE, side.inspect)
end