Library/Homebrew/extend/os/mac/utils/bottles.rb
# Find a bottle built for a previous version of macOS.
Find a bottle built for a previous version of macOS.
Find a bottle built for a previous version of macOS .
def find_older_compatible_tag(tag)
        begin
          tag_version = MacOS::Version.from_symbol(tag)
        rescue ArgumentError
          return
        end
        keys.find do |key|
          key_tag_version = tag_without_or_later(key)
          begin
            MacOS::Version.from_symbol(key_tag_version) <= tag_version
          rescue ArgumentError
            false
          end
        end
      end
def find_older_compatible_tag ( tag ) begin tag_version = MacOS :: Version . from_symbol ( tag ) rescue ArgumentError return end keys . find do | key | key_tag_version = tag_without_or_later ( key ) begin MacOS :: Version . from_symbol ( key_tag_version ) <= tag_version rescue ArgumentError false end end end
Find a bottle built for a previous version of macOS.
Find a bottle built for a previous version of macOS .
tag