diff options
| author | Markus Reiter | 2016-10-04 10:31:49 +0200 | 
|---|---|---|
| committer | GitHub | 2016-10-04 10:31:49 +0200 | 
| commit | cafe1497808ef1ddb002061665ad606aa2340d10 (patch) | |
| tree | 3020d12117601676f9afdf2cdefa86785546705b /Library/Homebrew/cmd/info.rb | |
| parent | 881fdcd25ebe6b91691295034a8d9fa2dfc6f158 (diff) | |
| parent | 9690c94f9dcc78d2a00093e21be412c70776541c (diff) | |
| download | brew-cafe1497808ef1ddb002061665ad606aa2340d10.tar.bz2 | |
Merge pull request #1145 from reitermarkus/module-function
Use `module_function` for `Homebrew` module.
Diffstat (limited to 'Library/Homebrew/cmd/info.rb')
| -rw-r--r-- | Library/Homebrew/cmd/info.rb | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/Library/Homebrew/cmd/info.rb b/Library/Homebrew/cmd/info.rb index 2cfb89ea5..fefabf85f 100644 --- a/Library/Homebrew/cmd/info.rb +++ b/Library/Homebrew/cmd/info.rb @@ -25,6 +25,8 @@ require "tab"  require "utils/json"  module Homebrew +  module_function +    def info      # eventually we'll solidify an API, but we'll keep old versions      # awhile around for compatibility | 
