Class: Licensed::Sources::Pipenv
- Defined in:
- lib/licensed/sources/pipenv.rb
Constant Summary
Constants inherited from Pip
Licensed::Sources::Pip::PACKAGE_INFO_SEPARATOR
Instance Attribute Summary
Attributes inherited from Source
Instance Method Summary collapse
Methods inherited from Pip
Methods inherited from Source
#dependencies, #enumerate_dependencies, full_type, #ignored?, inherited, #initialize, register_source, require_matched_dependency_version, #source_config, type, type_and_version
Constructor Details
This class inherits a constructor from Licensed::Sources::Source
Instance Method Details
#enabled? ⇒ Boolean
8 9 10 |
# File 'lib/licensed/sources/pipenv.rb', line 8 def enabled? Licensed::Shell.tool_available?("pipenv") && File.exist?(config.pwd.join("Pipfile.lock")) end |