Sha256: 9a05f1091c17bdd88ad544be6c6e361b42ad8ec80dd7724ecfb74bb679d76d04

Contents?: true

Size: 297 Bytes

Versions: 8

Compression:

Stored size: 297 Bytes

Contents

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

module Jacoco
  # Jacoco method model
  class Method
    include HappyMapper

    tag 'method'
    attribute :name, String
    attribute :desc, String
    attribute :line, Integer

    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/method.rb
danger-jacoco-0.1.3 lib/jacoco/model/method.rb
danger-jacoco-0.1.2 lib/jacoco/model/method.rb
danger-jacoco-0.1.1 lib/jacoco/model/method.rb
danger-jacoco-0.1.0 lib/jacoco/model/method.rb
danger-jacoco-0.0.3 lib/jacoco/model/method.rb
danger-jacoco-0.0.2 lib/jacoco/model/method.rb
danger-jacoco-0.0.1 lib/jacoco/model/method.rb