Module: RubyFromExcel
- Defined in:
- lib/excelfile/sheet_names.rb,
lib/cells/cell.rb,
lib/rubyfromexcel.rb,
lib/excelfile/table.rb,
lib/excelfile/workbook.rb,
lib/excelfile/worksheet.rb,
lib/cells/value/value_cell.rb,
lib/formulae/run/reference.rb,
lib/excelfile/relationships.rb,
lib/excelfile/shared_strings.rb,
lib/formulae/run/excel_range.rb,
lib/formulae/run/excel_matrix.rb,
lib/optimiser/workbook_pruner.rb,
lib/cells/formula/formula_cell.rb,
lib/formulae/run/excel_functions.rb,
lib/optimiser/dependency_builder.rb,
lib/cells/array/array_formula_cell.rb,
lib/runtime/runtime_formula_builder.rb,
lib/cells/shared/shared_formula_cell.rb,
lib/formulae/compile/formula_builder.rb,
lib/cells/array/array_formula_builder.rb,
lib/cells/array/arraying_formula_cell.rb,
lib/cells/formula/simple_formula_cell.rb,
lib/cells/shared/sharing_formula_cell.rb,
lib/cells/shared/shared_formula_builder.rb,
lib/cells/array/single_cell_array_formula_cell.rb,
lib/optimiser/shared_formula_dependency_builder.rb,
lib/cells/array/single_cell_array_formula_builder.rb
Overview
FIXME: This is obviously bad programming. What if we multithread?!
Defined Under Namespace
Modules: Empty, ExcelFunctions Classes: Area, ArrayFormulaBuilder, ArrayFormulaCell, ArrayingFormulaCell, Cell, Columns, DependencyBuilder, DependsOnCalculatedFormulaError, ExcelFunctionNotImplementedError, ExcelMatrix, ExcelMatrixCollection, ExcelRange, ExcelRangeCommon, FormulaBuilder, FormulaCell, FunctionCompiler, Process, Reference, Relationships, Rows, RuntimeFormulaBuilder, SharedFormulaBuilder, SharedFormulaCell, SharedFormulaDependencyBuilder, SharedStrings, SharingFormulaCell, SheetNames, SimpleFormulaCell, SingleCellArrayFormulaBuilder, SingleCellArrayFormulaCell, Table, TableNotFoundException, ValueCell, Workbook, WorkbookPruner, Worksheet
Class Method Summary collapse
Class Method Details
.debug(name, message) ⇒ Object
21 22 23 24 25 26 27 |
# File 'lib/rubyfromexcel.rb', line 21 def self.debug(name,) return "" unless $DEBUG == true file_name = "#{name.to_s}-debug.txt" @files ||= {} file = @files[file_name] ||= File.open(file_name,'w') file.puts end |