Sha256: a88645052199aad0f217fbe9b1fccf150e34ea98e7a27e1fa399e12cb5e1af36
Contents?: true
Size: 569 Bytes
Versions: 88
Compression:
Stored size: 569 Bytes
Contents
# frozen_string_literal: true require 'eac_ruby_utils/core_ext' module EacCli class Config < ::SimpleDelegator class Entry module Undefined private def undefined_value loop do entry_value = undefined_value_no_loop next unless options[:validator].if_present(true) { |v| v.call(entry_value) } return entry_value end end def undefined_value_no_loop input("Value for entry \"#{path}\"", options.request_input_options) end end end end end
Version data entries
88 entries across 88 versions & 3 rubygems