Unified · Split
| @@ -75,12 +75,12 @@ module Docs · 74 unmodified lines | ||
| 75 | 75 | # include the companion object. |
| 76 | 76 | def package_name |
| 77 | 77 | name = package_drop_last(slug_parts) |
| 78 | − name.empty? ? '_root_' : name | |
| 78 | + name.empty? ? 'scala' : name | |
| 79 | 79 | end |
| 80 | 80 | |
| 81 | 81 | def parent_package |
| 82 | 82 | parent = package_drop_last(package_name.split('.')) |
| 83 | − parent.empty? ? '_root_' : parent | |
| 83 | + parent.empty? ? 'scala' : parent | |
| 84 | 84 | end |
| 85 | 85 | |
| 86 | 86 | def package_drop_last(parts) |