mirror of
https://github.com/donl/homebrew-cask-versions.git
synced 2026-07-17 06:16:47 -06:00
From legacy forms "after_install", etc. * abstract out `method_missing_message` to Cask::Utils * provide `method_missing` coverage in pre/postflight blocks (fixes #7445) * fix old-style rendering of Cask name as a classname in `method_missing` messages
6 lines
178 B
Ruby
6 lines
178 B
Ruby
class Cask::DSL::Preflight < Cask::DSL::Base
|
|
def method_missing(method, *args)
|
|
Cask::Utils.method_missing_message(method, @cask.to_s, 'preflight')
|
|
return nil
|
|
end
|
|
end
|