Method: Bundler::Plugin::API#tmp

Defined in:
lib/bundler/plugin/api.rb

#tmp(*names) ⇒ Pathname

A tmp dir to be used by plugins Accepts names that get concatenated as suffix

Returns:

  • (Pathname)

    object for the new directory created



63
64
65
# File 'lib/bundler/plugin/api.rb', line 63

def tmp(*names)
  Bundler.tmp(["plugin", *names].join("-"))
end