Closed WhatsARanjit closed 7 years ago
puppet_x
sort_hash
hashify_group_array
As a note, I originally used the .to_h method in sort_hash. The workflow was:
.to_h
to.h
This failed on Travis with anything < Ruby 2.1.x. Refactored to use each_slice and a lambda to be compatible across Ruby versions.
each_slice
This is in regards to https://github.com/WhatsARanjit/prosvcs-node_manager/issues/9.
puppet_x
forsort_hash
methodsort_hash
on inputsort_hash
when reading classeshashify_group_array
method topuppet_x
As a note, I originally used the
.to_h
method insort_hash
. The workflow was:to.h
This failed on Travis with anything < Ruby 2.1.x. Refactored to use
each_slice
and a lambda to be compatible across Ruby versions.