Sha256: d6e659a1a5c45529be7d7be7697be122167f0c8de1fdbbe88417a262a6dfd543
Contents?: true
Size: 557 Bytes
Versions: 4
Compression:
Stored size: 557 Bytes
Contents
# frozen_string_literal: true require 'eac_ruby_utils/core_ext' module EacCli class Config 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 request_input("Value for entry \"#{path}\"", options.request_input_options) end end end end end
Version data entries
4 entries across 4 versions & 2 rubygems