https://github.com/aaronrenner/refactoring_example
https://github.com/aaronrenner/refactoring_example
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/aaronrenner/refactoring_example
- Owner: aaronrenner
- Created: 2019-08-21T23:16:39.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-08-21T23:17:04.000Z (almost 7 years ago)
- Last Synced: 2025-12-26T20:57:52.042Z (6 months ago)
- Language: Elixir
- Size: 9.77 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# RefactoringExample
Example app designed to show the process of extracting private functions
and internal modules.
## Running
1. Install the dependencies: `mix deps.get`
2. Run the app from iex
```elixir
$ iex -S mix
Erlang/OTP 22 [erts-10.4.4] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [hipe]
Compiling 2 files (.ex)
Interactive Elixir (1.9.1) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)> RefactoringExample.print_cars()
#... output
```
## Generating documentation
You can view the public API for this application with the following command
```
$ mix docs
Docs successfully generated.
View them at "doc/index.html".
$ open doc/index.html
```