lib/ansi_formatter.rb in markdown_exec-1.8.1 vs lib/ansi_formatter.rb in markdown_exec-1.8.2
- old
+ new
@@ -143,12 +143,9 @@
end
results
end
- # # Example usage
- # scan_and_process_string("Hello world, hello universe", "hello", :plain, :color)
-
# Applies a color method to a string based on the provided color symbol.
# The color method is fetched from @options and applied to the string.
# @param string [String] The string to which the color will be applied.
# @param color_sym [Symbol] The symbol representing the color method.
# @param default [String] Default color method to use if color_sym is not found in @options.