module Dry module Types Any = Class.new(Definition) do def initialize(**options) super(::Object, options) end # @return [String] def name 'Any' end # @param [Object] any input is valid # @return [true] def valid?(_) true end # @param [Hash] new_options # @return [Type] def with(new_options) self.class.new(**options, meta: @meta, **new_options) end end.new end end