Module: RspecFileChef::StateKeeper

Included in:
FileChef
Defined in:
lib/rspec_file_chef/state_keeper.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#path_tableObject (readonly)

Returns the value of attribute path_table.



3
4
5
# File 'lib/rspec_file_chef/state_keeper.rb', line 3

def path_table
  @path_table
end

#tracking_filesObject (readonly)

Returns the value of attribute tracking_files.



3
4
5
# File 'lib/rspec_file_chef/state_keeper.rb', line 3

def tracking_files
  @tracking_files
end

Instance Method Details

#test_filesObject



5
6
7
8
9
# File 'lib/rspec_file_chef/state_keeper.rb', line 5

def test_files
  path_table.map do |file_name, _|
    "#{test_dir}/#{file_name}"
  end
end