Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add missing documentation to Faker::Computer (#2065)
* Update computer version after publishing * Add documentation page to Faker::Computer * Correct the version number
- Loading branch information
1 parent
24e937e
commit ca6e689
Showing
2 changed files
with
21 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Faker::Computer | ||
|
||
Available since version 2.12.0. | ||
|
||
```ruby | ||
# A random computer platform | ||
Faker::Computer.platform #=> "Linux" | ||
|
||
# A random computer type | ||
Faker::Computer.type #=> "server" | ||
|
||
# A random computer OS | ||
Faker::Computer.os #=> "RHEL 6.10" | ||
|
||
# A random computer platform and OS combination. | ||
Faker::Computer.stack #=> "Linux, RHEL 6.10" | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters