Sha256: 8dc3ea2e66119fc39a768e8ad580d01eee18e2964a4d56dde3e1f3fc4e76918e
Contents?: true
Size: 314 Bytes
Versions: 6802
Compression:
Stored size: 314 Bytes
Contents
# frozen_string_literal: true require_relative 'presenter' require_relative 'global' module Rainbow refine String do Presenter.instance_methods(false).each do |method_name| define_method(method_name) do |*args| ::Rainbow.global.wrap(self).send(method_name, *args) end end end end
Version data entries
6,802 entries across 6,802 versions & 35 rubygems