diff options
| author | Markus Reiter | 2016-10-14 20:17:25 +0200 |
|---|---|---|
| committer | Markus Reiter | 2016-10-23 14:32:04 +0200 |
| commit | 2b7e6c1dcb2e1aa8416b9b26d1a3d77b68f65013 (patch) | |
| tree | 14a5f61e46199f8b38458d66b4431d4b388fc015 /Library/Homebrew/cask/lib/hbc/dsl | |
| parent | ae7b944238ca23aff13d29375e4c59b32ae9d436 (diff) | |
| download | brew-2b7e6c1dcb2e1aa8416b9b26d1a3d77b68f65013.tar.bz2 | |
Don’t use `%i` literal.
Diffstat (limited to 'Library/Homebrew/cask/lib/hbc/dsl')
| -rw-r--r-- | Library/Homebrew/cask/lib/hbc/dsl/stanza_proxy.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/dsl/stanza_proxy.rb b/Library/Homebrew/cask/lib/hbc/dsl/stanza_proxy.rb index b1a850c5a..9e6368362 100644 --- a/Library/Homebrew/cask/lib/hbc/dsl/stanza_proxy.rb +++ b/Library/Homebrew/cask/lib/hbc/dsl/stanza_proxy.rb @@ -36,7 +36,7 @@ module Hbc end def respond_to?(method, include_private = false) - return true if %i{encode_with proxy? to_s type}.include?(method) + return true if [:encode_with, :proxy?, :to_s, :type].include?(method) return false if method == :to_ary @resolver.call.respond_to?(method, include_private) end |
