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.119 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.118 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.117 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.116 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.115 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.114 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.113 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.111 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.110 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.109 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.108 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.107 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.106 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.105 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.104 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.103 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.102 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.101 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.100 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.99 tracks/groovy/exercises/two-fer/Example.groovy