aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cask/lib/hbc/container.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/cask/lib/hbc/container.rb')
-rw-r--r--Library/Homebrew/cask/lib/hbc/container.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/container.rb b/Library/Homebrew/cask/lib/hbc/container.rb
index 01dd10337..e31fbc8fb 100644
--- a/Library/Homebrew/cask/lib/hbc/container.rb
+++ b/Library/Homebrew/cask/lib/hbc/container.rb
@@ -59,7 +59,7 @@ module Hbc
def self.from_type(type)
odebug "Determining which containers to use based on 'container :type'"
begin
- self.const_get(type.to_s.split("_").map(&:capitalize).join)
+ const_get(type.to_s.split("_").map(&:capitalize).join)
rescue NameError
false
end