代码世界:如何理解Ruby类及其函数?
由Gudao Luo在2010-02-16 at 18:15发表的

- 说明
- 首先要理解类的函数是什么意思。
- 其次类没有我们所需要的函数,但是有自己想法。
- 最后就自己写个相关函数,与大家共享。
- 参考资料
- http://chinaonrails.com/topic/view/3730.html http://chinaonrails.com/topic/view/3730.html
- http://ruby-doc.org/core/classes/Array.html http://ruby-doc.org/core/classes/Array.html
- http://carsonified.com/blog/dev/ruby-arrays/ http://carsonified.com/blog/dev/ruby-arrays/
- http://tinyurl.com/yge2k4c http://tinyurl.com/yge2k4c
Rails插件:创建自己的导航系统Geokit
由Gudao Luo在2008-01-18 at 10:10发表的

- 说明
- Rails插件Geokit提供了地理编码(geocoding),路线寻找和距离计算等功能。这个插件不仅提供Google地图API还提供Yahoo地图和Geocoder.us 等其他地图。
- Geokit项目首页:http://geokit.rubyforge.org/
- 图中链接是借助于Google 地图 API 实现瑞士火车实时运行网站。