Module: OpenTaxSolver::Constants

Extended by:
OpenTableExplorer::Finance::Constants
Includes:
OpenTableExplorer::Finance::Constants
Included in:
OpenTaxSolver, Assertions::ClassMethods
Defined in:
app/models/open_tax_solver.rb,
app/models/open_tax_solver.rb

Overview

Assertions

Constant Summary collapse

OTS_template_filename =
"#{Open_tax_solver_data_directory}/US_1040_template.txt"
Symbol_pattern =
'^ ?([-A-Za-z0-9?]+)'
Delimiter =
'\s+'
Specific_types =
['\?\?', '0', ';', '0\s+;', 'Yes']
Type_pattern =
'(\s+|'+Specific_types.map{|a| '('+Delimiter+'('+a+')'+Delimiter+')'}.join('|')+')'
Description_pattern =
'\{(.+)\}'
Symbol_regexp =
/#{Symbol_pattern}/
Type_regexp =
/#{Symbol_pattern}#{Type_pattern}/
Description_regexp =
/#{Description_pattern}/
Full_regexp =
/#{Symbol_pattern}#{Type_pattern}#{Description_pattern}/
Full_regexp_array =
[Symbol_pattern, Type_pattern, Description_pattern]
Open_Tax_Filler_Directory =
'../OpenTaxFormFiller'
Data_source_directory =
'test/data_sources'
All =
OpenTaxSolver.all_initialize

Constants included from OpenTableExplorer::Finance::Constants

OpenTableExplorer::Finance::Constants::Command, OpenTableExplorer::Finance::Constants::Default_tax_year, OpenTableExplorer::Finance::Constants::Open_tax_solver_binary, OpenTableExplorer::Finance::Constants::Open_tax_solver_data_directory, OpenTableExplorer::Finance::Constants::Open_tax_solver_directory, OpenTableExplorer::Finance::Constants::Open_tax_solver_input, OpenTableExplorer::Finance::Constants::Open_tax_solver_sysout