class PryDiffRoutes::RemovedRoutesFormatter
Public Class Methods
new(routes)
click to toggle source
# File lib/pry_diff_routes/formatters/removed_routes_formatter.rb, line 3 def initialize(routes) @routes = routes end
Public Instance Methods
to_s()
click to toggle source
# File lib/pry_diff_routes/formatters/removed_routes_formatter.rb, line 7 def to_s <<~NEW #{Util.bold_red 'Removed:'} #{@routes.map(&:to_s).join("\n")} NEW end