Conventions used
There are a number of text conventions used throughout this book.
Code in text
: Indicates code words in text, database collection names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here's an example: "The mongoid
gem can be added to your application by modifying the Gemfile
."
A block of code is set as follows:
class Shape include Mongoid::Document field: x, type: Integer field: y, type: Integer embedded_in: canvas end
Bold: Indicates a new term, an important word, or words that you see onscreen. For instance, words in menus or dialog boxes appear in bold. Here's an example: "Click on the Schema tab to check the schema distribution of the collection."
Tips or important notes
Appear like this.