mutant
https://github.com/mbj/mutant
Ruby
Automated code reviews via mutation testing - semantic code coverage.
Mutant::AST::Meta::Send#receiver_possible_top_level_const?
Test if receiver is possibly a top level constant
Edit
git clone [email protected]:mbj/mutant.git
cd mutant
open lib/mutant/ast/meta/send.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Mutant--AST--Meta--Send-receiver_possible_top_level_const--for-pr
# Commit to gitgit add lib/mutant/ast/meta/send.rbgit commit -m "better docs for Mutant::AST::Meta::Send#receiver_possible_top_level_const?"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Mutant--AST--Meta--Send-receiver_possible_top_level_const--for-pr
hub pull-request
# Celebrate!