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

Version Path
cybrid_api_bank_ruby-0.123.149 vendor/bundle/ruby/3.3.0/gems/rainbow-3.1.1/lib/rainbow/refinement.rb
cybrid_api_id_ruby-0.123.149 vendor/bundle/ruby/3.3.0/gems/rainbow-3.1.1/lib/rainbow/refinement.rb
cybrid_api_organization_ruby-0.123.149 vendor/bundle/ruby/3.3.0/gems/rainbow-3.1.1/lib/rainbow/refinement.rb
cybrid_api_bank_ruby-0.123.148 vendor/bundle/ruby/3.3.0/gems/rainbow-3.1.1/lib/rainbow/refinement.rb
cybrid_api_id_ruby-0.123.148 vendor/bundle/ruby/3.3.0/gems/rainbow-3.1.1/lib/rainbow/refinement.rb
cybrid_api_organization_ruby-0.123.148 vendor/bundle/ruby/3.3.0/gems/rainbow-3.1.1/lib/rainbow/refinement.rb
cybrid_api_bank_ruby-0.123.147 vendor/bundle/ruby/3.3.0/gems/rainbow-3.1.1/lib/rainbow/refinement.rb
cybrid_api_organization_ruby-0.123.147 vendor/bundle/ruby/3.3.0/gems/rainbow-3.1.1/lib/rainbow/refinement.rb
cybrid_api_id_ruby-0.123.147 vendor/bundle/ruby/3.3.0/gems/rainbow-3.1.1/lib/rainbow/refinement.rb
ory-client-1.16.2 vendor/bundle/ruby/3.1.0/gems/rainbow-3.1.1/lib/rainbow/refinement.rb
avalara_sdk-24.12.2 vendor/bundle/ruby/2.7.0/gems/rainbow-3.1.1/lib/rainbow/refinement.rb
cybrid_api_bank_ruby-0.123.145 vendor/bundle/ruby/3.3.0/gems/rainbow-3.1.1/lib/rainbow/refinement.rb
cybrid_api_organization_ruby-0.123.145 vendor/bundle/ruby/3.3.0/gems/rainbow-3.1.1/lib/rainbow/refinement.rb
cybrid_api_id_ruby-0.123.145 vendor/bundle/ruby/3.3.0/gems/rainbow-3.1.1/lib/rainbow/refinement.rb
cybrid_api_bank_ruby-0.123.144 vendor/bundle/ruby/3.3.0/gems/rainbow-3.1.1/lib/rainbow/refinement.rb
cybrid_api_id_ruby-0.123.144 vendor/bundle/ruby/3.3.0/gems/rainbow-3.1.1/lib/rainbow/refinement.rb
cybrid_api_organization_ruby-0.123.144 vendor/bundle/ruby/3.3.0/gems/rainbow-3.1.1/lib/rainbow/refinement.rb
ory-client-1.16.1 vendor/bundle/ruby/3.1.0/gems/rainbow-3.1.1/lib/rainbow/refinement.rb
ory-client-1.16.0 vendor/bundle/ruby/3.1.0/gems/rainbow-3.1.1/lib/rainbow/refinement.rb
cybrid_api_bank_ruby-0.123.143 vendor/bundle/ruby/3.3.0/gems/rainbow-3.1.1/lib/rainbow/refinement.rb