Sha256: 1022c05da39b8cdf1cee7bd380257392e83fc972f4aae55aed760437c19e0adb

Contents?: true

Size: 397 Bytes

Versions: 8

Compression:

Stored size: 397 Bytes

Contents

require 'happymapper'
require 'jacoco/model/group'
require 'jacoco/model/package'
require 'jacoco/model/counter'

module Jacoco
  # Jacoco group model
  class Group
    include HappyMapper

    tag 'group'

    attribute :name, String
    has_many :groups, Jacoco::Group, xpath: '.'
    has_many :packages, Jacoco::Package, 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/group.rb
danger-jacoco-0.1.3 lib/jacoco/model/group.rb
danger-jacoco-0.1.2 lib/jacoco/model/group.rb
danger-jacoco-0.1.1 lib/jacoco/model/group.rb
danger-jacoco-0.1.0 lib/jacoco/model/group.rb
danger-jacoco-0.0.3 lib/jacoco/model/group.rb
danger-jacoco-0.0.2 lib/jacoco/model/group.rb
danger-jacoco-0.0.1 lib/jacoco/model/group.rb