ga-wdi-boston / ruby-object-self

Other
1 stars 141 forks source link

Prefer implicit receiver whenever explicit is unnecessary #29

Open jrhorn424 opened 7 years ago

jrhorn424 commented 7 years ago
- It's best practice to use `self.foo` and `self.foo` = instead of `@foo` and `@foo =`.
+ It's best practice to use `foo` and `self.foo =` instead of `@foo` and `@foo =`.