Sha256: 3c956ff6696d7a93b2f4c7696deb1094fa142a2344fa79260022ac063a83fc3d

Contents?: true

Size: 635 Bytes

Versions: 9

Compression:

Stored size: 635 Bytes

Contents

parse_hash:
  src: "{'one' => 1, 2 => 'two'}"
  tem: "{\"one\" => 1, 2 => \"two\"}"

literal_on_hash:
  src: "{'one' => 1, 2 => 'two'}['one'] + 2"
  tem: "(1+2)"

method_on_hash:
  src: "{'one' => 1, 2 => 'two'}.to_param"
  tem: "{\"one\" => 1, 2 => \"two\"}.to_param"
  
hash_access:
  src: "dictionary[:key]"
  tem: "get_dict[:key]"

append_hash:
  src: "append_hash(5, 'foo' => 'Foo')"
  tem: "add(5, {\"foo\" => \"Foo\", :xyz => bar})"

append_hash_on_empty:
  src: "append_hash(5)"
  tem: "add(5, {:xyz => bar})"

hash_arguments:
  src: "hash_args('name' => str, 'age' => 13)"
  tem: "hash_args({\"name\" => str, \"age\" => 13})"

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rubyless-0.8.11 test/RubyLess/hash.yml
rubyless-0.8.10 test/RubyLess/hash.yml
rubyless-0.8.9 test/RubyLess/hash.yml
rubyless-0.8.8 test/RubyLess/hash.yml
rubyless-0.8.7 test/RubyLess/hash.yml
rubyless-0.8.6 test/RubyLess/hash.yml
rubyless-0.8.5 test/RubyLess/hash.yml
rubyless-0.8.4 test/RubyLess/hash.yml
rubyless-0.8.3 test/RubyLess/hash.yml