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