builder/extra/tools/ruby-tpm/configure/group_configure_prompt.rb
# Add a single prompt to this group
Add a single prompt to this group
Add a single prompt to this group
def add_prompt(prompt)
    unless prompt.is_a?(ConfigurePrompt)
      raise "Unable to add #{prompt.class().name()}:#{prompt.get_name()} because it does not extend ConfigurePrompt"
    end
    prompt = prepare_prompt(prompt)
    @group_prompts << prompt
    @group_key_index[prompt.name] = prompt
  end
def add_prompt ( prompt ) unless prompt . is_a? ( ConfigurePrompt ) raise "Unable to add #{prompt.class().name()}:#{prompt.get_name()} because it does not extend ConfigurePrompt" end prompt = prepare_prompt ( prompt ) @group_prompts << prompt @group_key_index [ prompt . name ] = prompt end
Add a single prompt to this group
Add a single prompt to this group
prompt