Sha256: f59ba0a681a807d72a346cf2045b0562fc5abd3d20545c1c188efb75a6cb4ca9

Contents?: true

Size: 171 Bytes

Versions: 165

Compression:

Stored size: 171 Bytes

Contents

class TwoFer {

    static String twoFer(String name) {
        return name == null || name.isEmpty() ? "One for you, one for me." : "One for ${name}, one for me."
    }
}

Version data entries

165 entries across 165 versions & 1 rubygems

Version Path
trackler-2.2.1.98 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.97 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.96 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.95 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.94 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.93 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.92 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.91 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.90 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.89 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.88 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.87 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.86 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.85 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.84 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.83 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.82 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.81 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.80 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.79 tracks/groovy/exercises/two-fer/Example.groovy