Sha256: 9c8f5fc191a1b21c6464f963444485b29676df0beed30853d034c1acfef95be7

Contents?: true

Size: 318 Bytes

Versions: 8

Compression:

Stored size: 318 Bytes

Contents

require 'happymapper'
require 'jacoco/model/counter'
require 'jacoco/model/method'

module Jacoco
  # Jacoco Class model
  class Class
    include HappyMapper

    tag 'class'

    attribute :name, String

    has_many :methods, Jacoco::Method, 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/class.rb
danger-jacoco-0.1.3 lib/jacoco/model/class.rb
danger-jacoco-0.1.2 lib/jacoco/model/class.rb
danger-jacoco-0.1.1 lib/jacoco/model/class.rb
danger-jacoco-0.1.0 lib/jacoco/model/class.rb
danger-jacoco-0.0.3 lib/jacoco/model/class.rb
danger-jacoco-0.0.2 lib/jacoco/model/class.rb
danger-jacoco-0.0.1 lib/jacoco/model/class.rb