diff options
| author | Xavier Noria <fxn@hashref.com> | 2011-07-25 14:20:01 -0700 |
|---|---|---|
| committer | Xavier Noria <fxn@hashref.com> | 2011-07-25 14:20:01 -0700 |
| commit | 703d0e05c0a57ec032cd6966ff82e757415bcc50 (patch) | |
| tree | 0af8cb5d881693165d34ca05ce452c1c7a6ecf92 /railties/guides/source/api_documentation_guidelines.textile | |
| parent | 8e0061128e8946d6e6fab68c078517db668ef050 (diff) | |
| parent | 598eab90ffb60638a578b5b205388cb755485280 (diff) | |
| download | rails-703d0e05c0a57ec032cd6966ff82e757415bcc50.tar.gz rails-703d0e05c0a57ec032cd6966ff82e757415bcc50.tar.bz2 rails-703d0e05c0a57ec032cd6966ff82e757415bcc50.zip | |
Merge branch 'master' of git://github.com/lifo/docrails
Diffstat (limited to 'railties/guides/source/api_documentation_guidelines.textile')
| -rw-r--r-- | railties/guides/source/api_documentation_guidelines.textile | 16 |
1 files changed, 8 insertions, 8 deletions
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: <ruby> - # label(:post, :title) - # # => <label for="post_title">Title</label> - # - # label(:post, :title, "A short title") - # # => <label for="post_title">A short title</label> - # - # label(:post, :title, "A short title", :class => "title_label") - # # => <label for="post_title" class="title_label">A short title</label> +# label(:post, :title) +# # => <label for="post_title">Title</label> +# +# label(:post, :title, "A short title") +# # => <label for="post_title">A short title</label> +# +# label(:post, :title, "A short title", :class => "title_label") +# # => <label for="post_title" class="title_label">A short title</label> </ruby> Avoid using any printing methods like +puts+ or +p+ for that purpose. |
