Open Pauloparakleto opened 1 year ago
This is the "S" of the SOLID principle. You have seen presenters hash with lot of dependencies like:
{ foo: bar } private def bar { nested_bar: nested_bar} end def nested_bar 'nested_bar_value' end
How presenters can be organized in order to avoid nested hashes methods dependencies?
This is the "S" of the SOLID principle. You have seen presenters hash with lot of dependencies like:
How presenters can be organized in order to avoid nested hashes methods dependencies?