Sha256: 7ce9ad21b2302f4e7a8218534c2c395a5c73dfdc9bba1f9158882e1680cc378d

Contents?: true

Size: 450 Bytes

Versions: 2

Compression:

Stored size: 450 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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fastlane_hotfix-2.165.1 fastlane_core/lib/fastlane_core/ui/disable_colors.rb
fastlane_hotfix-2.165.0 fastlane_core/lib/fastlane_core/ui/disable_colors.rb