Rails relevant Ruby
stylesheet_link_tag 'blueprint/screen', :media => 'screen'
Blocks can be more than one line, and often are. In Rails Tutorial we’ll follow the common convention of using curly braces only for short one-line blocks and the do..end syntax for longer one-liners and for multi-line blocks.
To inspect an object use the object.inspect method. or p object for short.
No comments yet