mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
use Module.nesting in ax88179.rb
instead of hardcoded class name
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ cask :v1 => 'ax88179' do
|
||||
|
||||
module Utils
|
||||
def self.basename
|
||||
"AX88179_178A_Macintosh_10.6_to_10.10_Driver_Installer_v#{Ax88179.version}"
|
||||
"AX88179_178A_Macintosh_10.6_to_10.10_Driver_Installer_v#{Module.nesting.last.version}"
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user