lib/tls_map/output.rb in tls-map-1.1.0 vs lib/tls_map/output.rb in tls-map-1.2.0

- old
+ new

@@ -33,12 +33,12 @@ File.write(filename, Marshal.dump(@tls_map)) end # Export the mapping to a file, supporting various formats. # @param filename [String] The output file name to write to. - # @param format [Symbol] Supported formats: +:markdown+ (a markdown table), - # +:json_pretty+ (expanded JSON), +:json_compact+ (minified JSON), - # +:marshal+ (Ruby marshalized hash). + # @param format [Symbol] Supported formats: `:markdown` (a markdown table), + # `:json_pretty` (expanded JSON), `:json_compact` (minified JSON), + # `:marshal` (Ruby marshalized hash). def export(filename, format) case format when :markdown then output_markdown(filename) when :json_pretty then output_json_pretty(filename) when :json_compact then output_json_compact(filename)