Skip to content

Commit 2102c78

Browse files
Small RDoc changes for recipes (#190)
1 parent 15c3a11 commit 2102c78

File tree

6 files changed

+14
-1
lines changed

6 files changed

+14
-1
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@ CSV.foreach("path/to/file.csv") do |row|
3131
end
3232
```
3333

34+
## Documentation
35+
36+
- {API}[CSV.html]: all classes, methods, and constants.
37+
- {Recipes}[doc/csv/recipes/recipes_rdoc.html]: specific code for specific tasks.
38+
3439
## Development
3540

3641
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.

doc/csv/recipes/filtering.rdoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
== Recipes for Filtering \CSV
22

3+
These recipes are specific code examples for specific \CSV filtering tasks.
4+
35
For other recipes, see {Recipes for CSV}[./recipes_rdoc.html].
46

57
All code snippets on this page assume that the following has been executed:

doc/csv/recipes/generating.rdoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
== Recipes for Generating \CSV
22

3+
These recipes are specific code examples for specific \CSV generating tasks.
4+
35
For other recipes, see {Recipes for CSV}[./recipes_rdoc.html].
46

57
All code snippets on this page assume that the following has been executed:

doc/csv/recipes/parsing.rdoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
== Recipes for Parsing \CSV
22

3+
These recipes are specific code examples for specific \CSV parsing tasks.
4+
35
For other recipes, see {Recipes for CSV}[./recipes_rdoc.html].
46

57
All code snippets on this page assume that the following has been executed:

doc/csv/recipes/recipes.rdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
== Recipes for \CSV
22

3-
See:
3+
The recipes are specific code examples for specific tasks. See:
44
- {Recipes for Parsing CSV}[./parsing_rdoc.html]
55
- {Recipes for Generating CSV}[./generating_rdoc.html]
66
- {Recipes for Filtering CSV}[./filtering_rdoc.html]

lib/csv.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@
111111
# you may want to go directly to the:
112112
# - {Recipes for CSV}[doc/csv/recipes/recipes_rdoc.html].
113113
#
114+
# Otherwise, read on here, about the API: classes, methods, and constants.
115+
#
114116
# === \CSV Data
115117
#
116118
# \CSV (comma-separated values) data is a text representation of a table:

0 commit comments

Comments
 (0)