Class: DNApi::Components::V8

Inherits:
Object
  • Object
show all
Includes:
DNApi::Component
Defined in:
lib/dnapi/components/v8.rb

Constant Summary collapse

NAME =
'V8'.freeze
VERSION =
'3.6'.freeze
PATCH_LEVEL =
'6.19'.freeze

Class Method Summary collapse

Methods included from DNApi::Component

[], #can_belong_to?, components, from, included, #key, #to_hash

Class Method Details

.labelObject



15
16
17
# File 'lib/dnapi/components/v8.rb', line 15

def self.label
  "#{NAME} - #{version}"
end

.packageObject



23
24
25
# File 'lib/dnapi/components/v8.rb', line 23

def self.package
  'dev-lang/v8'
end

.versionObject



19
20
21
# File 'lib/dnapi/components/v8.rb', line 19

def self.version
  "#{VERSION}.#{PATCH_LEVEL}"
end