Method to prompt for
Retrieve the given param, or prompt for it
# File lib/configliere/prompt.rb, line 20 def prompt_for attr, hint=nil return self[attr] if has_key?(attr) hint ||= definition_of(attr, :description) hint = " (#{hint})" if hint self[attr] = ask("#{attr}#{hint}? ") end
Generated with the Darkfish Rdoc Generator 2.