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.180 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.179 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.178 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.177 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.176 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.175 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.174 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.173 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.172 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.171 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.170 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.169 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.167 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.166 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.165 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.164 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.163 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.162 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.161 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.160 tracks/groovy/exercises/two-fer/Example.groovy