Skip to content
Commit c395e0d6 authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Refactor global member warnings.

--ignore-global now only toggles between showing global class or hiding it.

--warnings=-global turns warnings about global members on/off regardless of
the previous option.

Printing of the warnings is also no more duplicated in both lint.rb and app.rb.

Class#all_members and Class#all_local_members no more filter out private members.
Small refactoring inside Class to avoid confusing use of all_members as local
variable.
parent 1b07ec72
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment