Sha256: e85e10911a887489c387820a6ca80f5d05de2bdb5f97f538d66347d6995e56d5
Contents?: true
Size: 507 Bytes
Versions: 49
Compression:
Stored size: 507 Bytes
Contents
using System; using Generators.Input; namespace Generators.Exercises { public class Say : Exercise { protected override void UpdateCanonicalData(CanonicalData canonicalData) { foreach (var canonicalDataCase in canonicalData.Cases) { canonicalDataCase.Property = "InEnglish"; canonicalDataCase.ExceptionThrown = canonicalDataCase.Expected is long ? typeof(ArgumentOutOfRangeException) : null; } } } }
Version data entries
49 entries across 49 versions & 1 rubygems