Static Site Generators rundown - How I set up my own blog with Jekyll
Technorage
Static Site Generators comparison - How I set up my own blog with Jekyll & custom Tags to cross-post with Dev.to
Technorage
Static Site Generators comparison - How I set up my own blog with Jekyll & custom Tags to cross-post with Dev.to
daniloinfo86
Ruby Enums Ruby does not have native support for enum (as a core module/class or keyword). Many coming from other programming languages may miss this feature (myself included, as I came from C#). Maybe: This does not mean that you cannot represent the enum type in Ruby. There are many ways (like...
daniloinfo86
Ruby Metaprogramming Ruby is an amazing programming language in many aspects, especially regarding metaprogramming! The fact that everything is an object, give to the programmer the ability to manipulate methods and closures, the inheritance chain classes, callbacks, have modules with common...
daniloinfo86
Ruby Hash The Hash class is widely used in Ruby code, due to its key/value structure. It has many interesting methods, aside from most basic ones, like #default and #key?, used to return a default value if the desired key was not found and verify if some key exists, respectively. There are...
Ana María Martínez Gómez
Christmas is around the corner, but I couldn’t wait and I have already been trying the new Ruby release! :christmas_tree: :tada: Ruby 2.6, apart from efficiency improvements, which include the initial implementation of a just-in-time compiler, brings us many new cool features. Taking advance of...
daniloinfo86
When we began to modernize our company’s main software, we need to choose an architecture that could be as stable as it was for the last 20 years and at the same time, allow us to use one of the best alternatives to build a highly interactive and complex front-end. So, to embrace the innovation...
Ana María Martínez Gómez
It is already 2 years since Ruby 2.3 was released. While the controversial &., which is claimed to allow writing incomprehensible code, has become really popular in blog post and conferences, we have heard very little about the Hash#dig and Array#dig methods. Those methods were mentioned...
Ana María Martínez Gómez
It seems I have really well behaved on 2017, because Santa Claus brought me a failing test for Christmas. :stuck_out_tongue_winking_eye: I found out a piece of code, that was only wrong from 26th to 31st December. :christmas_tree: The code Imagine you want to write a Ruby method for a Rails...
daniloinfo86
In this post, I’ll show you how to extract the code definition of a Lambda object, using just pure Ruby! But, first things first! What is a lambda in Ruby? A lambda is a special type of Proc, with some little differences in syntax, behavior and functionality, one of them that could be used as an...