[Groonga-commit] ranguba/chupa-text at 871d287 [master] chupa-text: add "-I" option to use local decomposers

Back to archive index

Kouhei Sutou null+****@clear*****
Sun Jan 5 14:49:15 JST 2014


Kouhei Sutou	2014-01-05 14:49:15 +0900 (Sun, 05 Jan 2014)

  New Revision: 871d287dcac597c8b42891039f6b70b6962d1efe
  https://github.com/ranguba/chupa-text/commit/871d287dcac597c8b42891039f6b70b6962d1efe

  Message:
    chupa-text: add "-I" option to use local decomposers

  Modified files:
    lib/chupa-text/command/chupa-text.rb

  Modified: lib/chupa-text/command/chupa-text.rb (+4 -0)
===================================================================
--- lib/chupa-text/command/chupa-text.rb    2014-01-05 14:46:48 +0900 (9a9b270)
+++ lib/chupa-text/command/chupa-text.rb    2014-01-05 14:49:15 +0900 (1878965)
@@ -82,6 +82,10 @@ module ChupaText
                   "Disable decomposers installed by RubyGems.") do
           @enable_gems = false
         end
+        parser.on("-I=PATH",
+                  "Append PATH to decomposer load path.") do |path|
+          $LOAD_PATH << path
+        end
         parser
       end
 
-------------- next part --------------
HTML����������������������������...
Download 



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