Class: MilkTea::PackageManifest::DependencyView
- Inherits:
-
Data
- Object
- Data
- MilkTea::PackageManifest::DependencyView
- Defined in:
- lib/milk_tea/packages/manifest.rb
Instance Attribute Summary collapse
-
#git ⇒ Object
readonly
Returns the value of attribute git.
-
#git_rev ⇒ Object
readonly
Returns the value of attribute git_rev.
-
#git_subdir ⇒ Object
readonly
Returns the value of attribute git_subdir.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
-
#version ⇒ Object
readonly
Returns the value of attribute version.
-
#version_req ⇒ Object
readonly
Returns the value of attribute version_req.
Instance Method Summary collapse
- #exact_registry_version? ⇒ Boolean
- #git_dependency? ⇒ Boolean
- #path_dependency? ⇒ Boolean
- #registry? ⇒ Boolean
Instance Attribute Details
#git ⇒ Object (readonly)
Returns the value of attribute git
9 10 11 |
# File 'lib/milk_tea/packages/manifest.rb', line 9 def git @git end |
#git_rev ⇒ Object (readonly)
Returns the value of attribute git_rev
9 10 11 |
# File 'lib/milk_tea/packages/manifest.rb', line 9 def git_rev @git_rev end |
#git_subdir ⇒ Object (readonly)
Returns the value of attribute git_subdir
9 10 11 |
# File 'lib/milk_tea/packages/manifest.rb', line 9 def git_subdir @git_subdir end |
#name ⇒ Object (readonly)
Returns the value of attribute name
9 10 11 |
# File 'lib/milk_tea/packages/manifest.rb', line 9 def name @name end |
#path ⇒ Object (readonly)
Returns the value of attribute path
9 10 11 |
# File 'lib/milk_tea/packages/manifest.rb', line 9 def path @path end |
#version ⇒ Object (readonly)
Returns the value of attribute version
9 10 11 |
# File 'lib/milk_tea/packages/manifest.rb', line 9 def version @version end |
#version_req ⇒ Object (readonly)
Returns the value of attribute version_req
9 10 11 |
# File 'lib/milk_tea/packages/manifest.rb', line 9 def version_req @version_req end |
Instance Method Details
#exact_registry_version? ⇒ Boolean
22 23 24 |
# File 'lib/milk_tea/packages/manifest.rb', line 22 def exact_registry_version? registry? && !version.nil? end |
#git_dependency? ⇒ Boolean
14 15 16 |
# File 'lib/milk_tea/packages/manifest.rb', line 14 def git_dependency? !git.nil? end |
#path_dependency? ⇒ Boolean
10 11 12 |
# File 'lib/milk_tea/packages/manifest.rb', line 10 def path_dependency? !path.nil? end |
#registry? ⇒ Boolean
18 19 20 |
# File 'lib/milk_tea/packages/manifest.rb', line 18 def registry? !version_req.nil? && !path_dependency? && !git_dependency? end |