Sha256: 13000cfe6f7026d2018e6d329a33d74a165c846f8cf7e617864d9c3277ddabb3

Contents?: true

Size: 206 Bytes

Versions: 50

Compression:

Stored size: 206 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

50 entries across 50 versions & 1 rubygems

Version Path
traject-3.8.3 test/translation_maps/default_literal.rb
traject-3.8.2 test/translation_maps/default_literal.rb
traject-3.8.1 test/translation_maps/default_literal.rb
traject-3.8.0 test/translation_maps/default_literal.rb
traject-3.7.0 test/translation_maps/default_literal.rb
traject-3.6.0 test/translation_maps/default_literal.rb
traject-3.5.0 test/translation_maps/default_literal.rb
traject-3.4.0 test/translation_maps/default_literal.rb
traject-3.3.0 test/translation_maps/default_literal.rb
traject-3.2.0 test/translation_maps/default_literal.rb
traject-3.1.0 test/translation_maps/default_literal.rb
traject-3.1.0.rc1 test/translation_maps/default_literal.rb
traject-3.0.0 test/translation_maps/default_literal.rb
traject-3.0.0.alpha.2 test/translation_maps/default_literal.rb
traject-3.0.0.alpha.1 test/translation_maps/default_literal.rb
traject-2.3.4-java test/translation_maps/default_literal.rb
traject-2.3.4 test/translation_maps/default_literal.rb
traject-2.3.3 test/translation_maps/default_literal.rb
traject-2.3.3-java test/translation_maps/default_literal.rb
traject-2.3.2-java test/translation_maps/default_literal.rb