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

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.

主站蜘蛛池模板: 卢氏县| 含山县| 洞头县| 耒阳市| 同江市| 西华县| 屏边| 阳城县| 伊金霍洛旗| 黄石市| 富裕县| 湄潭县| 温宿县| 澎湖县| 内乡县| 英吉沙县| 周宁县| 湾仔区| 南宁市| 囊谦县| 平湖市| 阳新县| 驻马店市| 德令哈市| 基隆市| 普陀区| 长丰县| 济南市| 高雄市| 类乌齐县| 连南| 台南县| 平昌县| 和平区| 微博| 北京市| 白朗县| 得荣县| 府谷县| 若尔盖县| 遵义县|