]> git.donarmstrong.com Git - biopieces.git/commitdiff
cleaned comments
authormartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Wed, 5 Dec 2012 10:19:39 +0000 (10:19 +0000)
committermartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Wed, 5 Dec 2012 10:19:39 +0000 (10:19 +0000)
git-svn-id: http://biopieces.googlecode.com/svn/trunk@2030 74ccb610-7750-0410-82ae-013aeee3265d

code_ruby/lib/maasha/seq/patternmatcher.rb

index cd0d90a58d227be2758f201d947a80e75e3bc82b..6bb42943c29363e04925a2a8b04df6b221fa8fc9 100644 (file)
@@ -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