method

included

ruby latest stable - Class: Bundler::Thor::RakeCompat

Method not available on this version

This method is only available on newer versions. The first available version (v2_6_3) is shown here.

included(base)
public

No documentation available.

# File lib/bundler/vendor/thor/lib/thor/rake_compat.rb, line 27
    def self.included(base)
      # Hack. Make rakefile point to invoker, so rdoc task is generated properly.
      rakefile = File.basename(caller[0].match(/(.*):\d+/)[1])
      Rake.application.instance_variable_set(:@rakefile, rakefile)
      rake_classes << base
    end