Class: Fit::ImportFixture

Inherits:
Fixture
  • Object
show all
Defined in:
lib/fit/import_fixture.rb

Constant Summary

Constants inherited from Fixture

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

Instance Attribute Summary

Attributes inherited from Fixture

#args, #counts, #listener, #summary

Instance Method Summary collapse

Methods inherited from Fixture

camel, #check, #do_cell, #do_cells, #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, #parse, #right, #total_errors, #totals, #wrong

Constructor Details

This class inherits a constructor from Fit::Fixture

Instance Method Details

#do_row(row) ⇒ Object



5
6
7
# File 'lib/fit/import_fixture.rb', line 5

def do_row row
 FixtureLoader.add_fixture_package row.parts.text.gsub('.','::') 	    
end