https://github.com/subintp/oyster_card
https://github.com/subintp/oyster_card
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/subintp/oyster_card
- Owner: subintp
- Created: 2018-02-28T06:08:26.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-28T06:08:42.000Z (over 8 years ago)
- Last Synced: 2025-01-15T11:16:04.094Z (over 1 year ago)
- Language: Ruby
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
README
#### Instructions to run code
- cd into project folder
- ruby sample.rb
#### Assumption
- Trips are validated by syntax and stations
#### Supported Stations
- Hammersmith
- Wimbledon
- Earl's Court
- Holborn
#### Valid Syntax Example
- Tube Holborn to Earl’s Court
- 328 bus from Earl’s Court to Chelsea
- Tube Earl’s court to Hammersmith
Tested and Developed in ruby 2.1.2p95