Check method and parameters names for wording issues

이 페이지는 아직 영어로 제공되지 않습니다. 번역 작업 중입니다.
현재 번역 프로젝트에 대한 질문이나 피드백이 있으신 경우 언제든지 연락주시기 바랍니다.

Metadata

ID: ruby-inclusive/function-definition

Language: Ruby

Severity: Notice

Category: Best Practices

Description

This rule helps ensure that you adhere to naming conventions that are inclusive, clear, and unambiguous. Instead of using terms like master and slave, which have offensive connotations, use neutral and descriptive terms like primary and secondary. Names you choose should be clear, descriptive, and considerate of the diverse backgrounds of those who might read or work with your code.

Non-Compliant Code Examples

def master(slave)
end

Compliant Code Examples

def primary(secondary)
end
PREVIEWING: dgreen15/github-error-fix