Module: Cuprum::Cli::Dependencies
- Defined in:
- lib/cuprum/cli/dependencies.rb,
lib/cuprum/cli/dependencies/file_system.rb,
lib/cuprum/cli/dependencies/standard_io.rb,
lib/cuprum/cli/dependencies/system_command.rb,
lib/cuprum/cli/dependencies/file_system/mock.rb,
lib/cuprum/cli/dependencies/standard_io/mock.rb,
lib/cuprum/cli/dependencies/standard_io/helpers.rb,
lib/cuprum/cli/dependencies/system_command/mock.rb
Overview
Dependencies provide standard functionality to commands.
Defined Under Namespace
Classes: FileSystem, StandardIo, SystemCommand
Class Method Summary collapse
-
.provider ⇒ Plumbum::Provider
The provider for the standard dependencies.
Class Method Details
.provider ⇒ Plumbum::Provider
Returns the provider for the standard dependencies.
15 16 17 18 19 20 21 22 23 |
# File 'lib/cuprum/cli/dependencies.rb', line 15 def self.provider @provider ||= Plumbum::ManyProvider.new( values: { file_system: FileSystem.new, standard_io: StandardIo.new, system_command: SystemCommand.new } ) end |