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