Sha256: 8984b0784db85a24cbb51298f4460427f1031c1f2cefc86ce96f097ec0163927
Contents?: true
Size: 512 Bytes
Versions: 4
Compression:
Stored size: 512 Bytes
Contents
# typed: strict module DataModel module Fixtures::Boolean extend T::Sig extend self include Fixtures sig { returns(Example) } def simple Example.new( [:boolean], variants: { true: true, false: false, string: ["true", true], missing: nil }, ) end sig { returns(Example) } def optional Example.new( [:boolean, { optional: true }], variants: { true: true, false: false, string: "true", missing: nil }, ) end end end
Version data entries
4 entries across 4 versions & 1 rubygems