aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cask/lib/hbc/dsl
diff options
context:
space:
mode:
authorMarkus Reiter2016-10-14 20:17:25 +0200
committerMarkus Reiter2016-10-23 14:32:04 +0200
commit2b7e6c1dcb2e1aa8416b9b26d1a3d77b68f65013 (patch)
tree14a5f61e46199f8b38458d66b4431d4b388fc015 /Library/Homebrew/cask/lib/hbc/dsl
parentae7b944238ca23aff13d29375e4c59b32ae9d436 (diff)
downloadbrew-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.rb2
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