[Groonga-commit] droonga/droonga-engine at 8f28161 [master] Revert needless changes around conversion of default value

Back to archive index

SHIMODA Piro Hiroshi null+****@clear*****
Mon Oct 6 13:27:22 JST 2014


SHIMODA "Piro" Hiroshi	2014-10-06 13:27:22 +0900 (Mon, 06 Oct 2014)

  New Revision: 8f28161878628d247195fb79236e1bb6acae281b
  https://github.com/droonga/droonga-engine/commit/8f28161878628d247195fb79236e1bb6acae281b

  Message:
    Revert needless changes around conversion of default value

  Modified files:
    bin/droonga-engine-configure

  Modified: bin/droonga-engine-configure (+1 -5)
===================================================================
--- bin/droonga-engine-configure    2014-10-06 13:25:23 +0900 (f3c0a7a)
+++ bin/droonga-engine-configure    2014-10-06 13:27:22 +0900 (f72a94e)
@@ -60,11 +60,7 @@ def input(message, default_value=nil)
   print "#{message} [#{default_value}]: "
   response = gets.strip
   if response.empty?
-    if default_value.is_a?(String)
-      default_value.strip
-    else
-      default_value
-    end
+    default_value
   else
     response
   end
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index