Sha256: 06aafa750ad3dfa785f3568ffcc464f6f5c8a0a675e06981ca5d410636c07a86

Contents?: true

Size: 503 Bytes

Versions: 4

Compression:

Stored size: 503 Bytes

Contents

module Jeka
  module Analysis
    class ImplementationInformation
      include DataMapper::Resource
      
      property    :id,      Serial
      property    :name,    String
      property    :value,   String
      
      belongs_to  :implementation
      
      def self.convert(hash)
        info = []
        hash.each do |key, value|
          info << ImplementationInformation.new(
            name: key,
            value: value
          )
        end
        info
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
jeka-0.2.3 lib/jeka/analysis/implementation_information.rb
jeka-0.2.2 lib/jeka/analysis/implementation_information.rb
jeka-0.2.1 lib/jeka/analysis/implementation_information.rb
jeka-0.2.0 lib/jeka/analysis/implementation_information.rb