IMO, the difference between Ruby and other languages is method calling.
Other languages can reference the method by .method_name without (), but ruby can't because Ruby doesn't need () for method call.
The .: looks like method calling ., with additional : can reference the method. That makes sense to me.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
In other programming languages, they have more convenient way to reference the method.
gist.github.com/americodls/20981b2...
bugs.ruby-lang.org/issues/13581
IMO, the difference between Ruby and other languages is method calling.
Other languages can reference the method by
.method_name
without()
, but ruby can't because Ruby doesn't need()
for method call.The
.:
looks like method calling.
, with additional:
can reference the method. That makes sense to me.