Module: MacOSVersionErrorCompat

Included in:
Object
Defined in:
macos_version.rb

Instance Method Summary collapse

Instance Method Details

#const_missing(name) ⇒ Object



144
145
146
147
148
149
150
151
# File 'macos_version.rb', line 144

def const_missing(name)
  if name == :MacOSVersionError
    odeprecated "MacOSVersionError", "MacOSVersion::Error"
    return MacOSVersion::Error
  end

  super
end