Sha256: a2a826e787e979a952fb41a9893dfcf0bbf86c00b853e2eec9e631986dd3505d
Contents?: true
Size: 433 Bytes
Versions: 1113
Compression:
Stored size: 433 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
1,113 entries across 1,113 versions & 4 rubygems