Skip to content

Commit

Permalink
Merge pull request #1254 from benjaminran/patch-1
Browse files Browse the repository at this point in the history
use correct package name in package object docs
  • Loading branch information
SethTisue authored Jan 8, 2019
2 parents 47dd596 + 2e4b604 commit a90d395
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _tour/package-objects.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ object Plum extends Fruit("Plum", "blue")
object Banana extends Fruit("Banana", "yellow")
```

Now assume you want to place a variable `planted` and a method `showFruit` directly into package `gardening`.
Now assume you want to place a variable `planted` and a method `showFruit` directly into package `gardening.fruits`.
Here's how this is done:

```
Expand Down

0 comments on commit a90d395

Please sign in to comment.