Class: Eg::AllFiles::Expand
- Inherits:
-
Fit::ColumnFixture
- Object
- Fit::Fixture
- Fit::ColumnFixture
- Eg::AllFiles::Expand
- Defined in:
- lib/eg/all_files.rb
Overview
Self test.
Constant Summary
Constants inherited from Fit::Fixture
Fit::Fixture::GRAY, Fit::Fixture::GREEN, Fit::Fixture::RED, Fit::Fixture::YELLOW
Instance Attribute Summary collapse
-
#path ⇒ Object
Returns the value of attribute path.
Attributes inherited from Fit::Fixture
#args, #counts, #listener, #summary
Instance Method Summary collapse
- #expansion ⇒ Object
-
#initialize ⇒ Expand
constructor
A new instance of Expand.
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, #interpret_following_tables, #interpret_tables, label, metadata, #parse, #right, #total_errors, #totals, #wrong
Constructor Details
Instance Attribute Details
#path ⇒ Object
Returns the value of attribute path.
82 83 84 |
# File 'lib/eg/all_files.rb', line 82 def path @path end |
Instance Method Details
#expansion ⇒ Object
87 88 89 90 |
# File 'lib/eg/all_files.rb', line 87 def expansion files = @fixture. @path files.sort.collect {|filename| File.basename(filename)} end |