lib/k_doc/table.rb in k_doc-0.0.17 vs lib/k_doc/table.rb in k_doc-0.0.18

- old
+ new

@@ -53,17 +53,18 @@ row = fields.each_with_object({}) do |f, hash| hash[f['name']] = f['default'] end + # TODO: clean_symbol should be an option that is turned on or off for the table # Override with positional arguments args.each_with_index do |arg, i| - row[fields[i]['name']] = KUtil.data.clean_symbol(arg) + row[fields[i]['name']] = arg # KUtil.data.clean_symbol(arg) end # Override with named args named_args.each_key do |key| - row[key.to_s] = named_args[key] + row[key.to_s] = named_args[key] # KUtil.data.clean_symbol(named_args[key]) end @data[@name]['rows'] << row row end