diff options
| author | Mike McQuaid | 2016-09-10 10:38:35 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2016-09-10 10:38:47 +0100 |
| commit | 78603a24f687b75e5487953f9212667e14cba8d2 (patch) | |
| tree | d9e00489bf061a5f16fcb0b7848fe46080e9668e | |
| parent | 4fb691e1759eab70801d58801ed28762e4519897 (diff) | |
| download | brew-78603a24f687b75e5487953f9212667e14cba8d2.tar.bz2 | |
language/haskell: fix Rubocop warnings.
| -rw-r--r-- | Library/Homebrew/language/haskell.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/language/haskell.rb b/Library/Homebrew/language/haskell.rb index 87725e918..b5d0e1220 100644 --- a/Library/Homebrew/language/haskell.rb +++ b/Library/Homebrew/language/haskell.rb @@ -72,7 +72,7 @@ module Language end def install_cabal_package(*args) - options = if args[-1].kind_of?(Hash) then args.pop else {} end + options = args[-1].is_a?(Hash) ? args.pop : {} cabal_sandbox do cabal_install_tools(*options[:using]) if options[:using] |
