Sha256: f2955645a09651d851c607a42dbc787e7db8ef60b1f943f48c6d11b204749f11
Contents?: true
Size: 491 Bytes
Versions: 7
Compression:
Stored size: 491 Bytes
Contents
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
Version data entries
7 entries across 7 versions & 1 rubygems