Sha256: 78945d74d45670d3eb912858061d97bb9b6a8df3d10cac1629b7226e7b71809b
Contents?: true
Size: 297 Bytes
Versions: 50
Compression:
Stored size: 297 Bytes
Contents
# frozen_string_literal: true module Ree::Contracts module ArgContracts class Nilor < Or def initialize(*) super validators << Validators.fetch_for(nil) end def to_s "Nilor[#{validators[0..-2].map(&:to_s).join(', ')}]" end end end end
Version data entries
50 entries across 50 versions & 1 rubygems