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

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.

主站蜘蛛池模板: 延寿县| 临沧市| 乌拉特后旗| 华阴市| 三明市| 调兵山市| 奎屯市| 西乌珠穆沁旗| 南靖县| 香港| 中卫市| 河南省| 唐山市| 平顶山市| 金昌市| 廉江市| 普兰店市| 西华县| 宣汉县| 溧水县| 宣汉县| 于田县| 瓦房店市| 镇安县| 新蔡县| 灌阳县| 道孚县| 吉林省| 沂南县| 汉寿县| 南充市| 清镇市| 沈阳市| 广西| 吉林省| 通化县| 白城市| 绥化市| 南昌县| 浦江县| 南昌县|