From 941fae2cbb070caf0abe902dd7b2ae091b240e72 Mon Sep 17 00:00:00 2001 From: Michael Lavrisha Date: Sun, 24 Jul 2011 13:59:52 -0600 Subject: Provide consistant indentation for the example code --- .../guides/source/api_documentation_guidelines.textile | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'railties/guides') diff --git a/railties/guides/source/api_documentation_guidelines.textile b/railties/guides/source/api_documentation_guidelines.textile index bab2be9188..9c4df2d6b8 100644 --- a/railties/guides/source/api_documentation_guidelines.textile +++ b/railties/guides/source/api_documentation_guidelines.textile @@ -78,14 +78,14 @@ The result of expressions follow them and are introduced by "# => ", vertically If a line is too long, the comment may be placed on the next line: - # label(:post, :title) - # # => - # - # label(:post, :title, "A short title") - # # => - # - # label(:post, :title, "A short title", :class => "title_label") - # # => +# label(:post, :title) +# # => +# +# label(:post, :title, "A short title") +# # => +# +# label(:post, :title, "A short title", :class => "title_label") +# # => Avoid using any printing methods like +puts+ or +p+ for that purpose. -- cgit v1.2.3