Sha256: 00aebc669e09bc92f7f74c48ef1ea9c81fd43ee71e7a481b6044d9811f91cc66
Contents?: true
Size: 87 Bytes
Versions: 1
Compression:
Stored size: 87 Bytes
Contents
def reverse(s:string) StringBuilder.new(s).reverse end puts reverse('reversed')
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mirah-0.0.8-java | examples/rosettacode/reverse-a-string.mirah |