lib/source.rb
# etdata_path is false when no path available
etdata_path is false when no path available
etdata_path is false when no path available
def etdata_path
    if nonexisting_country_path?
      return false
    elsif nonexisting_year_path?
      try_other_years(country_path) || false
    else
      year_path.join("output/").exist? ? year_path.join("output/") : false
    end
  end
def etdata_path if nonexisting_country_path? return false elsif nonexisting_year_path? try_other_years ( country_path ) || false else year_path . join ( "output/" ) . exist? ? year_path . join ( "output/" ) : false end end
etdata_path is false when no path available
etdata_path is false when no path available