Class: CaseGen::ExcludeAsTable

Inherits:
Output
  • Object
show all
Defined in:
lib/case_gen/output/exclude_as_table.rb

Instance Method Summary collapse

Methods inherited from Output

create, #initialize, #to_s

Methods included from RuleDescription

#rule_description

Constructor Details

This class inherits a constructor from CaseGen::Output

Instance Method Details

#exclude_description(rule) ⇒ Object



9
10
11
# File 'lib/case_gen/output/exclude_as_table.rb', line 9

def exclude_description(rule)
  rule.description
end

#exclude_output(exclude) ⇒ Object



5
6
7
# File 'lib/case_gen/output/exclude_as_table.rb', line 5

def exclude_output(exclude)
  "\n#{as_table(exclude)}"
end