Module: CaseGen

Defined in:
lib/casegen.rb,
lib/case_gen/set.rb,
lib/case_gen/output.rb,
lib/case_gen/generator.rb,
lib/case_gen/combination.rb,
lib/case_gen/expect_rule.rb,
lib/case_gen/exclude_rule.rb,
lib/case_gen/combo_matcher.rb,
lib/case_gen/output/exclude.rb,
lib/case_gen/rule_description.rb,
lib/case_gen/output/exclude_inline.rb,
lib/case_gen/output/exclude_as_text.rb,
lib/case_gen/output/exclude_as_table.rb,
lib/case_gen/output/exclude_inline_footnotes.rb

Defined Under Namespace

Modules: ComboMatcher, RuleDescription Classes: Combination, Exclude, ExcludeAsTable, ExcludeAsText, ExcludeInline, ExcludeInlineFootnotes, ExcludeRule, ExpectRule, Generator, Output, Set

Class Method Summary collapse

Class Method Details

.generate(sets, rules, output_type = :exclude) ⇒ Object



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

def self.generate(sets, rules, output_type = :exclude)
  generator = CaseGen::Generator.new(sets, rules)
  CaseGen::Output.create(generator, output_type).to_s
end