Sha256: 1da81ac6fdaa25d60dc8f587b8d668b3e92103af6e39794d18f89d5d41e5c455

Contents?: true

Size: 386 Bytes

Versions: 8

Compression:

Stored size: 386 Bytes

Contents

require 'happymapper'
require 'jacoco/model/class'
require 'jacoco/model/sourcefile'

module Jacoco
  # Jacoco package model
  class Package
    include HappyMapper

    tag 'package'

    attribute :name, String
    has_many :sourcefiles, Jacoco::Sourcefile, xpath: '.'
    has_many :class_names, Jacoco::Class, xpath: '.'
    has_many :counters, Jacoco::Counter, xpath: '.'
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
danger-jacoco-0.1.4 lib/jacoco/model/package.rb
danger-jacoco-0.1.3 lib/jacoco/model/package.rb
danger-jacoco-0.1.2 lib/jacoco/model/package.rb
danger-jacoco-0.1.1 lib/jacoco/model/package.rb
danger-jacoco-0.1.0 lib/jacoco/model/package.rb
danger-jacoco-0.0.3 lib/jacoco/model/package.rb
danger-jacoco-0.0.2 lib/jacoco/model/package.rb
danger-jacoco-0.0.1 lib/jacoco/model/package.rb