Class: Fat::ParseFixture

Inherits:
Fit::ColumnFixture show all
Defined in:
lib/fat/parse_fixture.rb

Overview

A fixture to discuss parsing specification.

Constant Summary

Constants inherited from Fit::Fixture

Fit::Fixture::GRAY, Fit::Fixture::GREEN, Fit::Fixture::RED, Fit::Fixture::YELLOW

Instance Attribute Summary collapse

Attributes inherited from Fit::Fixture

#args, #counts, #listener, #summary

Instance Method Summary collapse

Methods inherited from Fit::ColumnFixture

#check, #do_cell, #do_row, #do_rows, #execute, #reset

Methods inherited from Fit::Fixture

camel, #check, #do_cell, #do_cells, #do_row, #do_rows, #do_table, #do_tables, #error, escape, #exception, #find_class, #fixture_name, #get_args_for_table, #get_linked_fixture_with_args, gray, #ignore, #info, #initialize, #interpret_following_tables, #interpret_tables, label, metadata, #right, #total_errors, #totals, #wrong

Constructor Details

This class inherits a constructor from Fit::Fixture

Instance Attribute Details

#entityObject

Returns the value of attribute entity.



12
13
14
# File 'lib/fat/parse_fixture.rb', line 12

def entity
  @entity
end

#htmlObject

Returns the value of attribute html.



12
13
14
# File 'lib/fat/parse_fixture.rb', line 12

def html
  @html
end

#noteObject

unused



13
14
15
# File 'lib/fat/parse_fixture.rb', line 13

def note
  @note
end

#table_cellObject

Returns the value of attribute table_cell.



12
13
14
# File 'lib/fat/parse_fixture.rb', line 12

def table_cell
  @table_cell
end

Instance Method Details

#outputObject



37
# File 'lib/fat/parse_fixture.rb', line 37

def output; generate_output(generate_parse); end

#parseObject



45
# File 'lib/fat/parse_fixture.rb', line 45

def parse; dump_tables(generate_parse); end