Class: UdiseSchoolReportReader::SchoolReportParser::OutputPaths
- Inherits:
-
Object
- Object
- UdiseSchoolReportReader::SchoolReportParser::OutputPaths
- Defined in:
- lib/udise_school_report_reader/school_report_parser.rb
Constant Summary collapse
- EXTENSIONS =
{ txt: '.txt', compressed_txt: '_compressed.txt', blocks_csv: '_blocks.csv', rects_csv: '_rects.csv', combined_csv: '_combined.csv', rte_html: '_rte.html', enrollment_html: '_enrollment.html', ews_html: '_ews.html', yaml: '.yml' }
Instance Method Summary collapse
-
#initialize(pdf_path, output_dir) ⇒ OutputPaths
constructor
A new instance of OutputPaths.
Constructor Details
#initialize(pdf_path, output_dir) ⇒ OutputPaths
109 110 111 112 113 |
# File 'lib/udise_school_report_reader/school_report_parser.rb', line 109 def initialize(pdf_path, output_dir) @pdf_path = pdf_path @output_dir = output_dir @base_name = File.basename(pdf_path, '.pdf') end |