We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 773b7da commit 3ceafabCopy full SHA for 3ceafab
README.md
@@ -3,7 +3,7 @@
3
See stuff about a Rails app.
4
5
```bash
6
-$ bundle exec rake:stats[~/path/to/app/]
+$ bundle exec rake:stats[/users/me/path/to/app/]
7
8
Directory: /users/me/path/to/app/
9
Rakefile
@@ -2,7 +2,7 @@ require "rails_stats"
2
desc "Calculates the statistsics for a given Rails project"
task :stats, [:path] do |t, args|
- root_directory = args[:path]
- puts "\nDirectory: #{File.absolute_path(root_directory)}\n\n"
+ root_directory = File.absolute_path(args[:path])
+ puts "\nDirectory: #{root_directory}\n\n"
RailsStats::CodeStatistics.new(root_directory).to_s
end
0 commit comments