Programming:Ruby
出自Wikibooks
Ruby是一個直譯式(interpreted),物件導向的腳本語言(scripting)。Ruby的開發者是松本 行弘, 簡稱 Matz。
這本書的英文版在這裡,中文版除了英文翻譯內容外,還會加上一些跟英文版不同的東西,並不會完全的翻譯過來,請各位注意。
由於WikiBooks的簡繁轉換會誤判字的關係,因此建議選擇「不轉換」來瀏覽頁面會比較好。Wiki 簡繁轉換系統目前已知錯誤:
- '運算子'轉繁體成'運運算元'。例: 運算子。
- '注'轉繁體成'註'。例: 注釋。
- '下面'轉繁體成'下麵'。例: 下面內容為...。
非常希望各位可以協助翻譯,使這份教學文件更加完善!不過翻譯前請先來看看注意事項!
[编辑] 新手上路
- 總覽 *
- 安裝Ruby
- Ruby編輯器
- 標示慣例
- 互動模式
- Hello world
- 字串 *
- Here documents
- ASCII
- Ruby基礎
- 資料型態 -- 數值、字串、雜湊表與陣列
- 類別與物件
- 撰寫method
- 異常
[编辑] Intermediate Ruby
[编辑] Ruby語言參考
[编辑] Ruby功能參考
[编辑] 模組
[编辑] 額外連結
- Ruby 官方網站
- Ruby 日文官方網站
- Ruby 台灣官方網站
- Ruby 文件官方網站
- Ruby-Talk: Ruby Mailing List
- Nitro
- Ruby on Rails 官方網站
- Ruby on Rails 台灣官方網站
- RubyForge: 許多Ruby的Open Source專案
- Ruby Wizards討論區
[编辑] 使用者社群
- 台灣Ruby使用者社群
- 台灣Ruby使用者社群 Google Group 討論區
- 台灣Ruby on Rails使用者社群 Google Group 討論區
- Ruby中文社区
- Ruby中文开源项目平台
- 台灣Ruby on Rails官方網站
- 正體中文Ruby社群網誌
[编辑] 學習 Ruby
[编辑] 書籍
- Why's (Poignant) Guide To Ruby
- Humble Little Ruby Book
- Programming Ruby(a.k.a.Pickaxe) 1stEdition Online
[编辑] 快速參考
The Unrelenting Effects of Heroin Addiction
Among all known kinds of opiates around the world, heroin is the most widely abused and highly addictive substance in society today. Heroin is made from morphine, which is an innate component derived from the seed pod of specific varieties of poppy plants. Heroin is usually available in the form of white powder that is bitter in taste. These common types of heroin is usually sold on the streets in small amounts.There are also certain types of heroin that appear as black or dark brown. Its variation in color is caused by the impurities that are left behind from the manufacturing process or from the mere incorporation of other foreign additives. On the other hand, the kind of heroin that is black in color is called "black tar," which is available mainly in the Western and Southern parts of the U.S.
Heroin Abuse in America
It is specifically stated in the 2005 National Survey on Drug Use and Health (NSDUH) that there is an estimated population of 3.5 million Americans from 12 years old and above that is determined to have tried using heroin at least once in their life. The 2005 NSDUH survey also revealed that there were 108,000 persons aged 12 or older who said that they used heroin for the first time during the past twelve months. Furthermore, a separate survey, which is in line with the 2006 Monitoring the Future study showed that 1.4 percent of students who are in the eight, tenth, and twelfth grades are involved with lifetime use of heroin. This kind of figure is primarily rooted on the convenience and ease of acquiring heroin supplies from various underground dealers. As a matter of fact, the survey has also determined that 17.4 percent of tenth graders and 27.4 percent of twelfth graders said that obtaining supplies of heroin is "very easy." This utmost convenience to acquire heroin shows not only how lax the government's rule over illegal drugs but also implies a greater risk for heroin addiction among Americans.
Putting Your Health at Stake
Heroin's immediate effects are intense and instantaneous. Upon administering it to the body through intravenous injection, a certain "rush" is immediately experienced by the user followed by a certain feeling of euphoria and security. These short term effects are typically evanescent in nature, quickly disappearing for a couple of hours. What is quite disturbing is its long-term effects which range from infection of heart lining to various liver diseases. The only feasible way to stay away from these vile after-effects is to completely steer away from using heroin or to undergo a very effective drug treatment program.
sources: http://www.whitehousedrugpolicy.gov/drugfact/heroin/index.html http://www.infoimagination.org/ps/drug_war/heroin/index.html http://www.drugstory.org/drug_info/heroin.asp

