class Bundler::Plumber::Task
Public Class Methods
new()
click to toggle source
Initializes the task.
# File lib/bundler/plumber/task.rb, line 27 def initialize define end
Protected Instance Methods
define()
click to toggle source
Defines the `bundle:leak` task.
# File lib/bundler/plumber/task.rb, line 36 def define namespace :bundle do desc 'Updates the ruby-mem-advisory-db then runs bundle-leak' task :leak do require 'bundler/plumber/cli' %w(update check).each do |command| Bundler::Plumber::CLI.start [command] end end end end