官术网_书友最值得收藏!

Conventions

In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.

There are three styles for code. Code words in text are shown as follows: "This will copy the necessary files to your RAILS_ROOT/vendor/plugins folder and run the install.rb script."

A block of code will be set as follows:

class Kiosk < ActiveRecord::Base
def address
"#{self.street}, #{self.city}, #{self.state}, #{self.zipcode}"
end

When we wish to draw your attention to a particular part of a code block, the relevant lines or items will be made bold:

begin
kiosks.each { |kiosk|
loc = MultiGeocoder.geocode(kiosk.address)
kiosk.lat = loc.lat

Any command-line input and output is written as follows:

$./script/plugin install svn://rubyforge.org/var/svn/geokit/trunk

New terms and important words are introduced in a bold-type font. Words that you see on the screen, in menus or dialog boxes for example, appear in our text like this: "clicking the Next button moves you to the next screen".

Note

Important notes appear in a box like this.

Tip

Tips and tricks appear like this.

主站蜘蛛池模板: 连州市| 巫山县| 鸡东县| 隆安县| 浦东新区| 城市| 肇州县| 健康| 高青县| 礼泉县| 平远县| 临泽县| 云梦县| 柯坪县| 肥西县| 习水县| 额尔古纳市| 怀远县| 察隅县| 扬中市| 五指山市| 连云港市| 江门市| 大理市| 且末县| 永昌县| 略阳县| 略阳县| 南宁市| 新野县| 泰和县| 张家港市| 武夷山市| 仪征市| 侯马市| 科技| 铜鼓县| 金坛市| 榆社县| 曲水县| 布拖县|