Module: Cure

Defined in:
lib/cure.rb,
lib/cure/log.rb,
lib/cure/main.rb,
lib/cure/config.rb,
lib/cure/version.rb,
lib/cure/validators.rb,
lib/cure/coordinator.rb,
lib/cure/export/exporter.rb,
lib/cure/extract/builder.rb,
lib/cure/extract/extractor.rb,
lib/cure/template/dispatch.rb,
lib/cure/template/template.rb,
lib/cure/extract/csv_lookup.rb,
lib/cure/template/extraction.rb,
lib/cure/helpers/file_helpers.rb,
lib/cure/helpers/object_helpers.rb,
lib/cure/strategy/base_strategy.rb,
lib/cure/strategy/full_strategy.rb,
lib/cure/generator/hex_generator.rb,
lib/cure/strategy/match_strategy.rb,
lib/cure/strategy/regex_strategy.rb,
lib/cure/strategy/split_strategy.rb,
lib/cure/generator/base_generator.rb,
lib/cure/generator/case_generator.rb,
lib/cure/generator/guid_generator.rb,
lib/cure/strategy/append_strategy.rb,
lib/cure/template/transformations.rb,
lib/cure/transformation/candidate.rb,
lib/cure/transformation/transform.rb,
lib/cure/generator/faker_generator.rb,
lib/cure/generator/number_generator.rb,
lib/cure/generator/redact_generator.rb,
lib/cure/strategy/end_with_strategy.rb,
lib/cure/generator/variable_generator.rb,
lib/cure/strategy/start_with_strategy.rb,
lib/cure/generator/character_generator.rb,
lib/cure/generator/placeholder_generator.rb

Defined Under Namespace

Modules: Configuration, Export, Extract, Generator, Helpers, Log, Strategy, Transformation, Validators Classes: Coordinator, Dispatch, Extraction, Main, Template, Transformations

Constant Summary collapse

VERSION =
"0.1.2"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.loggerObject



18
19
20
21
22
# File 'lib/cure.rb', line 18

def logger
  @logger ||= Logger.new($stdout).tap do |log|
    log.progname = name
  end
end

Class Method Details

.process(template, csv_file_location, output_dir) ⇒ File



27
28
29
# File 'lib/cure.rb', line 27

def process(template, csv_file_location, output_dir)
  # Main.init_from_hash(template, csv_file_location, output_dir)
end