use `Module.nesting` in ax88179.rb

instead of hardcoded class name
This commit is contained in:
Roland Walker 2014-12-05 11:30:01 -05:00
parent c32fe5716f
commit 46b3164092
1 changed files with 1 additions and 1 deletions

View File

@ -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