Sha256: e9b859f5633251c9b8cf63f337679b242cc98688d6130b44e317baaa2f09a769
Contents?: true
Size: 442 Bytes
Versions: 3
Compression:
Stored size: 442 Bytes
Contents
# frozen_string_literal: true module BCDD::Contract # TODO: Move to bcdd-contract module Null class Checking include Core::Checking EMPTY_ARRAY = [].freeze def initialize(_checker, value) @value = value @errors = EMPTY_ARRAY end def errors_message '' end end end # TODO: Move to bcdd-contract def self.null(value) Null::Checking.new(nil, value) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
bcdd-process-0.4.0 | lib/bcdd/ext/contract/null.rb |
bcdd-process-0.3.1 | lib/bcdd/contract/null.rb |
bcdd-process-0.3.0 | lib/bcdd/contract/null.rb |