没有合适的资源?快使用搜索试试~ 我知道了~
bart:围绕BART API的Ruby包装器
共18个文件
rb:9个
xml:3个
md:2个
需积分: 5 0 下载量 44 浏览量
2021-05-22
05:36:22
上传
评论
收藏 9KB ZIP 举报
温馨提示
BART API周围的Ruby包装器。 用法 创建一个新的工作站对象 require 'bart/station' station = Bart :: Station . new ( abbr : 'ssan' ) station . name # => "South San Francisco" 看看接下来的火车应该什么时候到达 station . load_departures station . departures . map do | d | [ d . destination . name , d . estimates . map { | e | e . minutes } ] end # => [["Pittsburg/Bay Point", [5, 25, 50]], ["Millbrae", [5, 25, 46]]] 输出即将出发的清单: requir
资源推荐
资源详情
资源评论
收起资源包目录
bart-master.zip (18个子文件)
bart-master
.gitignore 33B
bart.gemspec 567B
README.md 931B
lib
bart
estimate.rb 679B
station.rb 2KB
etd.rb 507B
station
list.rb 2KB
bart.rb 80B
Gemfile 38B
docs
Changelog.md 94B
Rakefile 337B
test
unit
bart_test.rb 236B
estimate_test.rb 963B
etd_test.rb 529B
station_test.rb 2KB
responses
etd.xml 363B
estimate.xml 204B
station.xml 1KB
共 18 条
- 1
资源评论
王牌对王牌飞行
- 粉丝: 33
- 资源: 4775
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功