Sha256: 9860f3c191dd4f1e92b663f7b2451fec125d371593af6854ec7cd16484cdc093
Contents?: true
Size: 529 Bytes
Versions: 12
Compression:
Stored size: 529 Bytes
Contents
# frozen_string_literal: true class Serega module SeregaValidations module Attribute # # Attribute `:many` option validator # 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
12 entries across 12 versions & 1 rubygems