vcr/vcr

Code Style: avoid hashrocket for Symbol keys in hashes

已關閉

#1,068 建立於 2026年1月21日

 (2 則留言) (0 個反應) (0 位負責人)Ruby (507 個分叉)batch import
good first issuehelp wanted

倉庫指標

星標
 (6,056 顆星)
PR 合併指標
 (平均合併 10小時 30分鐘) (30 天內合併 1 個 PR)

描述

I read some code, and saw that => was in use for Hash. For Symbol keys we can use : instead.

  • code
  • YAML that has code in it (feature tests)
  • style rules in tools

Trivia: the hashrocket is called Fat Comma in other languages.

To help, make a complete change, open a PR.

貢獻者指南