From 4b44f6be19429297ac2d63aeea89bb3f1281ce1f Mon Sep 17 00:00:00 2001 From: martinahansen Date: Wed, 5 Dec 2012 10:19:39 +0000 Subject: [PATCH] cleaned comments git-svn-id: http://biopieces.googlecode.com/svn/trunk@2030 74ccb610-7750-0410-82ae-013aeee3265d --- code_ruby/lib/maasha/seq/patternmatcher.rb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/code_ruby/lib/maasha/seq/patternmatcher.rb b/code_ruby/lib/maasha/seq/patternmatcher.rb index cd0d90a..6bb4294 100644 --- a/code_ruby/lib/maasha/seq/patternmatcher.rb +++ b/code_ruby/lib/maasha/seq/patternmatcher.rb @@ -41,10 +41,8 @@ module PatternMatcher # -> Match # # ------------------------------------------------------------------------------ - # Method to iterate through a sequence to locate pattern matches starting from a - # given position and allowing for a maximum edit distance. Matches found in - # block context return the Match object. Otherwise matches are returned in an - # Array. + # Method to iterate through a sequence to locate the first pattern match + # starting from a given position and allowing for a maximum edit distance. def patmatch(pattern, pos = 0, max_edit_distance = 0) self.patscan(pattern, pos, max_edit_distance) do |m| return m -- 2.39.2