Convert attributes array to a hash in after_configuration
mojavelinux opened this issue · 1 comments
mojavelinux commented
Convert the attributes array to a hash in after_configuration. This conversion makes it easier to check for and manipulate the attributes in the manipulate_resource_list method.
We might also consider switching the configuration to a hash instead of an array so that no conversion is necessary.
Either way, it's understood that the hash remains ordered as per normal Ruby rules.
mojavelinux commented
We should still allow attributes to be defined using an Array, but we should also accept a Hash. Either way, the attributes option should end up as a Hash.