]> git.donarmstrong.com Git - biopieces.git/commitdiff
polish of cigar.rb
authormartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Thu, 1 Sep 2011 12:24:39 +0000 (12:24 +0000)
committermartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Thu, 1 Sep 2011 12:24:39 +0000 (12:24 +0000)
git-svn-id: http://biopieces.googlecode.com/svn/trunk@1507 74ccb610-7750-0410-82ae-013aeee3265d

code_ruby/lib/maasha/cigar.rb

index 2e6fd0a72b091a45bf39e7d59fd64836da8eef05..78e3afe1ecaf0d1a757280697cad5ff5266f51f8 100644 (file)
@@ -27,8 +27,6 @@
 
 # http://samtools.sourceforge.net/SAM1.pdf
 
-require 'pp'
-
 # Error class for all exceptions to do with CIGAR.
 class CigarError < StandardError; end
 
@@ -43,6 +41,8 @@ class Cigar
     check_cigar
   end
 
+  # Method to convert the CIGAR string to
+  # a printable string.
   def to_s
     @cigar
   end