diff options
| author | Markus Reiter | 2017-10-07 00:31:28 +0200 | 
|---|---|---|
| committer | Markus Reiter | 2017-10-08 16:10:37 +0200 | 
| commit | 175ca909ee1a5b57aa0cae2c879920511f311b14 (patch) | |
| tree | 067464b4c08f4c16ca3439b533f06669a78c370c /Library/Homebrew/utils.rb | |
| parent | 91ab116ace7f4f97d3440190463c93be9ec6d675 (diff) | |
| download | brew-175ca909ee1a5b57aa0cae2c879920511f311b14.tar.bz2 | |
Clean up code style and remove `.rubocop_todo.yml`.
Diffstat (limited to 'Library/Homebrew/utils.rb')
| -rw-r--r-- | Library/Homebrew/utils.rb | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb index d293b2a6f..237ffa74e 100644 --- a/Library/Homebrew/utils.rb +++ b/Library/Homebrew/utils.rb @@ -229,10 +229,9 @@ module Homebrew      EOS    end -  # Hash of Module => Set(method_names) -  @injected_dump_stat_modules = {} - +  # rubocop:disable Style/GlobalVars    def inject_dump_stats!(the_module, pattern) +    @injected_dump_stat_modules ||= {}      @injected_dump_stat_modules[the_module] ||= []      injected_methods = @injected_dump_stat_modules[the_module]      the_module.module_eval do @@ -260,6 +259,7 @@ module Homebrew        end      end    end +  # rubocop:enable Style/GlobalVars  end  def with_system_path | 
