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