method

new

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

Method not available on this version

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

new(args = [], options = {}, config = {})
public

Add shell to initialize config values.

Configuration

shell

An instance of the shell to be used.

Examples

class MyScript < Bundler::Thor
  argument :first, :type => :numeric
end

MyScript.new [1.0], { :foo => :bar }, :shell => Bundler::Thor::Shell::Basic.new