Sha256: c3b059ec297297b231869454ed8371fe37f277838c26bc5659b8c3e7adeaf547
Contents?: true
Size: 469 Bytes
Versions: 4
Compression:
Stored size: 469 Bytes
Contents
module BloodContracts::Core # Refinement type which represents data which is always correct class Anything < Refined # The type which is the result of data matching process # (for Anything is always self) # # @return [BC::Refined] # def match self end # Checks whether the data matches the expectations or not # (for Anything is always true) # # @return [Boolean] # def valid? true end end end
Version data entries
4 entries across 4 versions & 1 rubygems