Class: Jeka::Analysis::ImplementationInformation

Inherits:
Object
  • Object
show all
Includes:
DataMapper::Resource
Defined in:
lib/jeka/analysis/implementation_information.rb

Class Method Summary collapse

Class Method Details

.convert(hash) ⇒ Object



12
13
14
15
16
17
18
19
20
21
# File 'lib/jeka/analysis/implementation_information.rb', line 12

def self.convert(hash)
  info = []
  hash.each do |key, value|
    info << ImplementationInformation.new(
      name: key,
      value: value
    )
  end
  info
end