Sha256: d65bb6535d7200246d6ee5a723c42e961b7478a63166ff27a9eccfe5d45d00b7
Contents?: true
Size: 470 Bytes
Versions: 7
Compression:
Stored size: 470 Bytes
Contents
# frozen_string_literal: true class Serega module SeregaValidations module Attribute class CheckOptMany # # Checks attribute :many option # # @param opts [Hash] Attribute options # # @raise [SeregaError] SeregaError that option has invalid value # # @return [void] # def self.call(opts) Utils::CheckOptIsBool.call(opts, :many) end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems