22 lines
283 B
Ruby
22 lines
283 B
Ruby
# frozen_string_literal: true
|
|
|
|
# Released under the MIT License.
|
|
# Copyright, 2023-2024, by Samuel Williams.
|
|
|
|
module Console
|
|
module Output
|
|
class Null
|
|
def initialize(...)
|
|
end
|
|
|
|
def last_output
|
|
self
|
|
end
|
|
|
|
def call(...)
|
|
# Do nothing.
|
|
end
|
|
end
|
|
end
|
|
end
|