|
1 |
| -# Python Naming Convention |
| 1 | +# Ruby Naming Convention |
2 | 2 |
|
3 |
| -The style guide for Python is based on [Guido’s ](https://www.python.org/doc/essays/styleguide/)naming convention recommendations. |
| 3 | +The style guide for Ruby is based on [Guido’s ](https://www.Ruby.org/doc/essays/styleguide/)naming convention recommendations. |
4 | 4 |
|
5 | 5 | List of covered sections:
|
6 | 6 |
|
7 |
| -* [Class Naming](../python/class-naming.md) |
8 |
| -* [Constant Naming](../python/constant-naming.md) |
9 |
| -* [Method Naming](../python/method-naming.md) |
10 |
| -* [Module Naming](../python/module-naming.md) |
11 |
| -* [Variable Naming](../python/variable-naming.md) |
12 |
| -* [Package Naming](../python/package-naming.md "Python Package Naming") |
13 |
| -* [Exception Naming](../python/exception-naming.md) |
14 |
| -* [Underscore](../python/underscore.md) |
| 7 | +* [Class Naming](../Ruby/class-naming.md) |
| 8 | +* [Constant Naming](../Ruby/constant-naming.md) |
| 9 | +* [Module Naming](../Ruby/file-naming.md) |
| 10 | +* [Method Naming](../Ruby/method-naming.md) |
| 11 | +* [Package Naming](../Ruby/module-naming.md) |
| 12 | +* [Variable Naming](../Ruby/variable-naming.md) |
15 | 13 |
|
16 | 14 | #### TL;DR
|
17 | 15 |
|
18 |
| -| Type | Public | Internal | |
19 |
| -| :--- | :--- | :--- | |
20 |
| -| Packages | `lower_with_under` | | |
21 |
| -| Modules | `lower_with_under` | `_lower_with_under` | |
22 |
| -| Classes | `CapWords` | `_CapWords` | |
23 |
| -| Exceptions | `CapWords` | | |
24 |
| -| Functions | `lower_with_under()` | `_lower_with_under()` | |
25 |
| -| Global/Class Constants | `CAPS_WITH_UNDER` | `_CAPS_WITH_UNDER` | |
26 |
| -| Global/Class Variables | `lower_with_under` | `_lower_with_under` | |
27 |
| -| Instance Variables | `lower_with_under` | `_lower_with_under` | |
28 |
| -| Method Names | `lower_with_under()` | `_lower_with_under()` | |
29 |
| -| Function/Method Parameters | `lower_with_under` | | |
30 |
| -| Local Variables | `lower_with_under` | | |
| 16 | +| Type | Convention | |
| 17 | +| :--- | :--- | |
| 18 | +| Files | `lower_with_under` | |
| 19 | +| Modules | `CapWords`| |
| 20 | +| Classes | `CapWords` | |
| 21 | +| Functions | `lower_with_under()` | |
| 22 | +| Global/Class Constants | `CAPS_WITH_UNDER` | |
| 23 | +| Global/Class Variables | `lower_with_under` | |
| 24 | +| Instance Variables | `lower_with_under` | |
| 25 | +| Method Names | `lower_with_under()` | |
| 26 | +| Function/Method Parameters | `lower_with_under` | |
| 27 | +| Local Variables | `lower_with_under` | |
31 | 28 |
|
32 | 29 | Missing something? Please contribute here by reading [this guide](../docs/CONTRIBUTING.md).
|
33 |
| - |
0 commit comments