README.textile in parseitc-0.1.2 vs README.textile in parseitc-0.1.3
- old
+ new
@@ -12,13 +12,15 @@
h2. SYNOPSIS:
bc. require 'rubygems'
require 'lib/parseitc'
include ParseITC
-reports = TransactionParser.new('/path/to/tsv/file1')
-reports.add_file('/path/to/tsv/file2')
-by_country = report.numbers_by_country
-by_country.sort.each {|k, v| puts "#{k}: #{v}"}
+
+report = Parser.new('/path/to/tsv/file1')
+report.add_file('/path/to/tsv/file2')
+report.count_by_price_tier.sort.each do |k, v|
+ puts "#{k}: #{v}"
+end
h2. REQUIREMENTS:
* Ruby (Developed on 1.8.7)
* RubyGems
\ No newline at end of file