Luiz FilhoUsing define_method to cleanup your codeIn ruby you can define methods at runtime, to do that, you can use for example the `define_method` to create at runtime new instance…May 8, 2016May 8, 2016