Ruby Literals You May Not Know
05-Dec-2019 2172
In programming the term “literal” refers to notations for representing certain values in code. Almost all languages offer them for atomic types such as strings or various number formats, some also for compound types like arrays, records or hashes. Additionally lambda expressions are a literal representation of functions.Ruby has a rich set of literals for various use cases and in this post we’re going to explore some of the lesser known ones.
Ruby Literals You May Not Know #ruby #rubydeveloper #rubyonrails #Literals https://rubyonrails.ba/link/ruby-literals-you-may-not-know