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.38 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.37 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.36 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.35 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.34 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.33 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.32 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.31 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.30 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.29 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.28 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.27 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.26 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.25 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.24 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.23 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.22 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.21 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.20 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.19 tracks/groovy/exercises/two-fer/Example.groovy