class Busser::RunnerPlugin::Base

Base class for all test runner plugins.

@author Fletcher Nichol <fnichol@nichol.ca>

Public Class Methods

postinstall(&block) click to toggle source
# File lib/busser/runner_plugin.rb, line 30
def self.postinstall(&block)
  (class << self; self; end).send(:define_method, :run_postinstall) do
    klass = Class.new(Busser::Thor::BaseGroup) do
      define_method(:postinstall, &block)
    end
    klass.start
  end
end