From: martinahansen Date: Thu, 19 May 2011 13:49:59 +0000 (+0000) Subject: fiddleling with biopieces.rb X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=2944deebd4724b87f68388f4178ce127aec7ce56;p=biopieces.git fiddleling with biopieces.rb git-svn-id: http://biopieces.googlecode.com/svn/trunk@1412 74ccb610-7750-0410-82ae-013aeee3265d --- diff --git a/code_ruby/lib/maasha/biopieces.rb b/code_ruby/lib/maasha/biopieces.rb index 8fa985d..ca23531 100644 --- a/code_ruby/lib/maasha/biopieces.rb +++ b/code_ruby/lib/maasha/biopieces.rb @@ -29,7 +29,6 @@ require 'date' require 'optparse' require 'open3' require 'pp' -require 'maasha/filesys' # Biopieces are command line scripts and uses OptionParser to parse command line # options according to a list of casts. Each cast prescribes the long and short @@ -40,7 +39,7 @@ require 'maasha/filesys' # the parsing and emitting of Biopiece records, which are ASCII text records consisting # of lines with a key/value pair separated by a colon and a white space ': '. # Each record is separated by a line with three dashes '---'. -class Biopieces < Filesys +class Biopieces include Enumerable attr_accessor :out # accessor for out stream _ios_