Sha256: e295843b5a92ef655abd97143e76adffbc7de48626627e1e6f60cbc157dcd1e5

Contents?: true

Size: 394 Bytes

Versions: 4

Compression:

Stored size: 394 Bytes

Contents

str = 'non-interpolated string'
str2 = "interpolated is better than #{str}"
heredoc = <<EOS
this is a here doc
EOS
int = 42
char = ?a
float = 3.14159265358979323846264
regex = /\d(cow)+\w\\/  # in Java, this would be "\\\\d(cow)+\\\\w\\\\\\\\"
regex2 = /interpolated #{regex}/
list = [1, 2, 3]
list[2] = 4
array = byte[5]
array[0] = byte(0)
hash = { "one" => 1, "two" => 2 }
hash["three"] = 3

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mirah-0.2.1-java examples/literals.mirah
mirah-0.2.0-java examples/literals.mirah
mirah-0.1.4-java examples/literals.mirah
mirah-0.1.3-java examples/literals.mirah