Sha256: bb05f0014140a48bdb9567b6fe9ce141d264179bb34c8e25e48b1ffd761cb95e
Contents?: true
Size: 653 Bytes
Versions: 1
Compression:
Stored size: 653 Bytes
Contents
# This code overwrites the methods from the colored gem # via https://github.com/defunkt/colored/blob/master/lib/colored.rb require 'colored' class String Colored::COLORS.keys.each do |color| define_method(color) do self # do nothing with the string, but return it end end Colored::EXTRAS.keys.each do |extra| define_method(extra) do self # do nothing with the string, but return it end end end # If a plugin uses the colorize gem, we also want to disable that begin require 'colorize' String.disable_colorization = true rescue LoadError # Colorize gem is not used by any plugin end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fastlane_hotfix-2.187.0 | fastlane_core/lib/fastlane_core/ui/disable_colors.rb |