Mike McQuaid a1f112f3fe
Move o* output methods to Utils::Output
This reduces the surface area of our `Kernel` monkeypatch and removes
the need to `include Kernel` in a bunch of modules.

While we're here, also move `Kernel#require?` to `Homebrew` and fully
scope the calls to it.
2025-08-20 19:20:19 +01:00

17 lines
320 B
Ruby

# typed: strong
# frozen_string_literal: true
require "time"
require "utils/output"
class Time
include Utils::Output::Mixin
# Backwards compatibility for formulae that used this ActiveSupport extension
sig { returns(String) }
def rfc3339
odisabled "Time#rfc3339", "Time#xmlschema"
xmlschema
end
end