Sha256: 7a9e45a3b4d48f1637d6299d2427e918c39844916735f3280556457fdf82ff85
Contents?: true
Size: 379 Bytes
Versions: 6
Compression:
Stored size: 379 Bytes
Contents
# frozen_string_literal: true module Mihari module Configurable def configured? config_keys.all? { |key| Mihari.config.send(key) } end def configuration_values return nil if config_keys.empty? config_keys.map do |key| { key: key.upcase, value: Mihari.config.send(key) } end end def config_keys [] end end end
Version data entries
6 entries across 6 versions & 1 rubygems