Class: DNApi::Components::PHP
- Inherits:
-
Object
- Object
- DNApi::Components::PHP
show all
- Includes:
- DNApi::Component
- Defined in:
- lib/dnapi/components/php.rb
Constant Summary
collapse
- NAME =
'PHP'.freeze
- VERSION =
'5.3'.freeze
- PATCH_LEVEL =
'9'.freeze
Class Method Summary
collapse
[], #can_belong_to?, components, from, included, #key, #to_hash
Class Method Details
.label ⇒ Object
13
14
15
|
# File 'lib/dnapi/components/php.rb', line 13
def self.label
"#{NAME} - #{version}"
end
|
.package ⇒ Object
21
22
23
|
# File 'lib/dnapi/components/php.rb', line 21
def self.package
'dev-lang/php'
end
|
.version ⇒ Object
17
18
19
|
# File 'lib/dnapi/components/php.rb', line 17
def self.version
"#{VERSION}.#{PATCH_LEVEL}"
end
|