Class: PoisePython::PythonProviders::Dummy
- Defined in:
- lib/poise_python/python_providers/dummy.rb
Overview
Inversion provider for the python_runtime
resource to use a fake Python,
for use in unit tests.
Instance Method Summary collapse
-
#action_install
The
install
action for thepython_runtime
resource. -
#action_uninstall
The
uninstall
action for thepython_runtime
resource. -
#python_binary ⇒ String
Path to the non-existent python.
-
#python_environment ⇒ String
Environment for the non-existent python.
Instance Method Details
#action_install
This method returns an undefined value.
The install
action for the python_runtime
resource.
50 51 52 |
# File 'lib/poise_python/python_providers/dummy.rb', line 50 def action_install # This space left intentionally blank. end |
#action_uninstall
This method returns an undefined value.
The uninstall
action for the python_runtime
resource.
57 58 59 |
# File 'lib/poise_python/python_providers/dummy.rb', line 57 def action_uninstall # This space left intentionally blank. end |
#python_binary ⇒ String
Path to the non-existent python.
64 65 66 |
# File 'lib/poise_python/python_providers/dummy.rb', line 64 def python_binary ['python_binary'] end |
#python_environment ⇒ String
Environment for the non-existent python.
71 72 73 |
# File 'lib/poise_python/python_providers/dummy.rb', line 71 def python_environment ['python_environment'] || super end |