[Groonga-commit] ranguba/chupa-text at 22e4884 [master] Fix a typo

Back to archive index
Kouhei Sutou null+****@clear*****
Mon Mar 4 06:34:38 JST 2019


Kouhei Sutou	2019-03-04 06:34:38 +0900 (Mon, 04 Mar 2019)

  Revision: 22e488427473c1e0d0e9539923ab1c7ad2cc108b
  https://github.com/ranguba/chupa-text/commit/22e488427473c1e0d0e9539923ab1c7ad2cc108b

  Message:
    Fix a typo

  Modified files:
    lib/chupa-text/virtual-content.rb

  Modified: lib/chupa-text/virtual-content.rb (+1 -1)
===================================================================
--- lib/chupa-text/virtual-content.rb    2019-03-04 06:32:37 +0900 (50ec931)
+++ lib/chupa-text/virtual-content.rb    2019-03-04 06:34:38 +0900 (92194a7)
@@ -68,7 +68,7 @@ module ChupaText
 
     def peek_body(size)
       if @body
-        super
+        @body[0, size]
       else
         open do |file|
           file.read(size)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20190304/29369ada/attachment.html>


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