From 8039107afb7b444a337db17e3635009c44f73cbe Mon Sep 17 00:00:00 2001 From: Jack Nagel <jacknagel@gmail.com> Date: Thu, 7 Aug 2014 00:48:13 -0500 Subject: [PATCH] Default to the empty string instead of nil --- Library/Homebrew/options.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/options.rb b/Library/Homebrew/options.rb index 3988085ce6..6b982a4059 100644 --- a/Library/Homebrew/options.rb +++ b/Library/Homebrew/options.rb @@ -3,9 +3,9 @@ require 'set' class Option attr_reader :name, :description, :flag - def initialize(name, description=nil) + def initialize(name, description="") @name, @flag = split_name(name) - @description = description.to_s + @description = description end def to_s -- GitLab