# File lib/hammer_cli/options/normalizers.rb, line 181 def complete(value) Completer::finalize_completions(@allowed_values) end
# File lib/hammer_cli/options/normalizers.rb, line 164 def description _("Possible value(s): %s") % quoted_values end
# File lib/hammer_cli/options/normalizers.rb, line 168 def format(value) if @allowed_values.include? value value else if allowed_values.count == 1 msg = _("value must be %s") % quoted_values else msg = _("value must be one of %s") % quoted_values end raise ArgumentError, msg end end
Generated with the Darkfish Rdoc Generator 2.