Class: Rake::FitReportRunner

Inherits:
Fit::FileRunner show all
Defined in:
lib/fittask.rb

Constant Summary

Constants inherited from Fit::FileRunner

Fit::FileRunner::DEFAULT_ENCODING

Instance Attribute Summary

Attributes inherited from Fit::FileRunner

#fixture, #input, #output, #tables

Instance Method Summary collapse

Methods inherited from Fit::FileRunner

#check_output_file, #create_output_file, #initialize, #process, #process_args, #read_file, #read_file_with_encoding

Constructor Details

This class inherits a constructor from Fit::FileRunner

Instance Method Details

#run(args, opts = nil) ⇒ Object



12
13
14
15
16
# File 'lib/fittask.rb', line 12

def run args, opts=nil
  @encoding = opts[:encoding].upcase unless opts.nil? 
  process_args args
  process
end