Skip to content

Commit

Permalink
Delete sea travel related parts
Browse files Browse the repository at this point in the history
  • Loading branch information
sarslanoglu committed Aug 16, 2023
1 parent ca8fcf6 commit f551c01
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -609,6 +609,8 @@ https://bestgems.org/gems/turkish_cities

| Ruby Version | Supported |
| ------------ | ------------------ |
| 3.2.x | :question: |
| 3.1.x | :question: |
| 3.0.x | :white_check_mark: |
| 2.7.x | :white_check_mark: |
| 2.6.x | :white_check_mark: |
Expand All @@ -617,10 +619,6 @@ https://bestgems.org/gems/turkish_cities

- TurkishCities heavily depends on ```:turkic``` case mapping support of Ruby string downcase method. Below Ruby version 2.5.1 some functions will run buggy/false or even won't run at all.

## Roadmap

- Add missing sea travel method

## Contributing

Contributing guidelines are available [here](CONTRIBUTING.md).
Expand Down
6 changes: 0 additions & 6 deletions lib/turkish_cities/distance.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ def distance_between
case @travel_method
when 'land'
distance_between_land
when 'sea'
distance_between_sea
when 'air'
distance_between_air
else
Expand All @@ -46,10 +44,6 @@ def distance_between_land
end
end

def distance_between_sea
# TODO
end

def distance_between_air
city_array = find_city_attributes
case city_array
Expand Down

0 comments on commit f551c01

Please sign in to comment.