lib/guard/ui.rb in guard-2.10.0 vs lib/guard/ui.rb in guard-2.10.1
- old
+ new
@@ -183,16 +183,10 @@
match ||= (except && !except.match(plugin))
return unless match
yield plugin
end
- # Display a message of the type `method` and with the color `color_name`
- # (no color by default) conditionnaly given a `plugin_name`.
- #
- # @param [String] plugin_name the calling plugin name
- # @option options [Boolean] reset whether to clean the output before
- # @option options [String] plugin manually define the calling plugin
- #
+ # @private
def _filtered_logger_message(message, method, color_name, options = {})
message = color(message, color_name) if color_name
_filter(options[:plugin]) do |plugin|
reset_line if options[:reset]