Sha256: 2a155ed4b6c5dd25e42f42aebbd1b8e9b31f81e8bb569f7b54e4e505cfc2f194

Contents?: true

Size: 205 Bytes

Versions: 12

Compression:

Stored size: 205 Bytes

Contents

foo = "bar"

some_hash = {
  "key1" => "value1",
  "array_key" => %w{one two three}
}
some_hash["__default__"] = "DEFAULT LITERAL"

# can be other ruby here, last line needs to evaluate as a Hash
some_hash

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
traject-0.16.0 test/translation_maps/default_literal.rb
traject-0.15.0 test/translation_maps/default_literal.rb
traject-0.14.1 test/translation_maps/default_literal.rb
traject-0.13.2 test/translation_maps/default_literal.rb
traject-0.13.1 test/translation_maps/default_literal.rb
traject-0.13.0 test/translation_maps/default_literal.rb
traject-0.12.0 test/translation_maps/default_literal.rb
traject-0.11.0 test/translation_maps/default_literal.rb
traject-0.10.0 test/translation_maps/default_literal.rb
traject-0.9.1 test/translation_maps/default_literal.rb
traject-0.0.2 test/translation_maps/default_literal.rb
traject-0.0.1 test/translation_maps/default_literal.rb