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

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.

主站蜘蛛池模板: 石棉县| 临邑县| 辉南县| 湾仔区| 江阴市| 陆河县| 华阴市| 大荔县| 舒城县| 富民县| 志丹县| 高清| 灵台县| 炉霍县| 桂平市| 安阳县| 方正县| 章丘市| 白朗县| 汉川市| 连南| 玛纳斯县| 治多县| 方城县| 建阳市| 洱源县| 肥城市| 古丈县| 和田市| 赣榆县| 荆州市| 霍州市| 柳河县| 秭归县| 桂东县| 叙永县| 旬邑县| 长宁县| 花垣县| 富锦市| 大埔区|