Kevin Newton | Ruby operators

First, we have the operators that are used to call methods. These are not the names of the methods themselves, but rather specify the manner in which the method should be called. They are:. - This is the main call operator. It calls a method on the receiver, as in: foo.bar.:: - Although this is normally used as the constant resolution operator, it can also be used to call methods in almost any place . can be used. For example, foo::bar is equivalent to foo.bar.
Kevin Newton | Ruby operators #ruby #rubydeveloper #rubyonrails https://rubyonrails.ba/single/kevin-newton-ruby-operators

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles