You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a receiver is explicitly specified in a method invocation, it may be separated from the method name using either a period (.) or two colons (::). The only difference between these two forms occurs if the method name starts with an uppercase letter. In this case, Ruby will assume that a receiver::Thing method call is actually an attempt to access a constant called Thing in the receiver unless the method invocation has a parameter list between parentheses.
Right now we approximate all of the above as calls, which is largely fine, except in the case of the constant access.
Problem
We are not testing include as an inheritance operation, nor are we making use of the heuristic that the capitalization of the member has any significance and can instead be a simple field access.
The text was updated successfully, but these errors were encountered:
Context
Example:
However
But
Right now we approximate all of the above as calls, which is largely fine, except in the case of the constant access.
Problem
We are not testing
include
as an inheritance operation, nor are we making use of the heuristic that the capitalization of the member has any significance and can instead be a simple field access.The text was updated successfully, but these errors were encountered: