Module: Bundler::Thor::Shell
Relationships & Source Files | |
Namespace Children | |
Classes:
| |
Defined in: | lib/bundler/vendor/thor/lib/thor/shell.rb, lib/bundler/vendor/thor/lib/thor/shell/basic.rb, lib/bundler/vendor/thor/lib/thor/shell/color.rb, lib/bundler/vendor/thor/lib/thor/shell/html.rb |
Constant Summary
-
SHELL_DELEGATED_METHODS =
# File 'lib/bundler/vendor/thor/lib/thor/shell.rb', line 24[:ask, :error, :set_color, :yes?, :no?, :say, :say_status, :print_in_columns, :print_table, :print_wrapped, :file_collision, :terminal_width]
Instance Attribute Summary
-
#shell
rw
Holds the shell for the given
::Bundler::Thor
instance. - #shell=(value) rw
Instance Method Summary
-
#initialize(args = [], options = {}, config = {})
Add shell to initialize config values.
-
#with_padding
Yields the given block with padding.
-
#_shared_configuration
protected
Internal use only
Allow shell to be shared between invocations.
Instance Attribute Details
#shell (rw)
Holds the shell for the given ::Bundler::Thor
instance. If no shell is given, it gets a default shell from Base.shell.
#shell=(value) (rw)
[ GitHub ]# File 'lib/bundler/vendor/thor/lib/thor/shell.rb', line 25
attr_writer :shell
Instance Method Details
#initialize(args = [], options = {}, config = {})
#with_padding
Yields the given block with padding.