Fantastic global methods in Ruby and where to find them

Many languages allow defining methods globally, which makes them available everywhere. Ruby is not different: you can define a method on the “top–level” and it behave like a global one. However, everything in Ruby is class, which means that these methods should belong to something. In this post we will figure out how global methods really work in Ruby!.
Fantastic global methods in Ruby and where to find them #ruby #rubydeveloper #rubyonrails https://rubyonrails.ba/single/fantastic-global-methods-in-ruby-and-where-to-find-them

Nezir Zahirovic

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

related articles