Open TylerRick opened 2 days ago
My use case is for methods that I want to add a color option (like many CLI commands have), so that I can easily toggle color as needed. Example:
color
def inspect(color: Rainbow.enabled) Rainbow.with_enabled(color) do Rainbow('...').red end end
My use case is for methods that I want to add a
color
option (like many CLI commands have), so that I can easily toggle color as needed. Example: