1 require File.dirname(__FILE__) + '/spec_helper'
3 def open_and_handle_with(pathname, processor)
11 require File.dirname(__FILE__) + '/io_processor'
14 accessor = FileAccessor.new
15 io_processor = IoProcessor.new
16 file = Pathname.new ARGV[0]
18 accessor.open_and_handle_with(file, io_processor)