diff options
| author | Markus Reiter | 2016-09-23 17:36:27 +0200 | 
|---|---|---|
| committer | Markus Reiter | 2016-09-23 17:36:27 +0200 | 
| commit | 25d5f74f3ef54aba3baa43c4adcd323f2cb0fdc6 (patch) | |
| tree | 4bb1c0116dcd064d9589a0b5b3cefcb1b3a2d551 /Library/Homebrew | |
| parent | 2b92f907b73a87fd76c7cd82119b3b5fa5491026 (diff) | |
| download | brew-25d5f74f3ef54aba3baa43c4adcd323f2cb0fdc6.tar.bz2 | |
Fix Style/ModuleFunction.
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/utils/github.rb | 3 | ||||
| -rw-r--r-- | Library/Homebrew/utils/json.rb | 2 | 
2 files changed, 3 insertions, 2 deletions
| diff --git a/Library/Homebrew/utils/github.rb b/Library/Homebrew/utils/github.rb index 654272363..b7ec538f9 100644 --- a/Library/Homebrew/utils/github.rb +++ b/Library/Homebrew/utils/github.rb @@ -2,7 +2,8 @@ require "uri"  require "tempfile"  module GitHub -  extend self +  module_function +    ISSUES_URI = URI.parse("https://api.github.com/search/issues")    Error = Class.new(RuntimeError) diff --git a/Library/Homebrew/utils/json.rb b/Library/Homebrew/utils/json.rb index 8a8cb6847..19d32a1e1 100644 --- a/Library/Homebrew/utils/json.rb +++ b/Library/Homebrew/utils/json.rb @@ -2,7 +2,7 @@ require "vendor/okjson"  module Utils    module JSON -    extend self +    module_function      Error = Class.new(StandardError) | 
