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.78 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.77 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.76 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.75 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.74 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.73 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.72 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.71 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.70 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.69 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.68 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.67 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.66 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.65 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.64 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.63 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.62 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.61 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.60 tracks/groovy/exercises/two-fer/Example.groovy
trackler-2.2.1.59 tracks/groovy/exercises/two-fer/Example.groovy