lib/csv_decision/table.rb in csv_decision-0.0.9 vs lib/csv_decision/table.rb in csv_decision-0.1.0

- old
+ new

@@ -14,14 +14,14 @@ # @return [Hash{Symbol => Object, Array<Object>}] Decision hash. def decide(input) Decide.decide(table: self, input: input, symbolize_keys: true) end - # Unsafe version of decide - will mutate the hash if +set: column+ type - # is used (planned feature). + # Unsafe version of decide - assumes the input hash is symbolized. # # @param input (see #decide) # @note Input hash must have its keys symbolized. + # Input hash will be mutated by any functions that have side effects. # @return (see #decide) def decide!(input) Decide.decide(table: self, input: input, symbolize_keys: false) end \ No newline at end of file