Sha256: 7fe11d9bcca32ed8817c3265b42e76eb6adc6cd058f08529ea8a3dc3558948ac

Contents?: true

Size: 349 Bytes

Versions: 15

Compression:

Stored size: 349 Bytes

Contents

# frozen_string_literal: true

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

15 entries across 15 versions & 2 rubygems

Version Path
danger-jacoco-0.1.9 lib/jacoco/model/class.rb
danger-jacoco-instacart-0.1.15 lib/jacoco/model/class.rb
danger-jacoco-instacart-0.1.14 lib/jacoco/model/class.rb
danger-jacoco-instacart-0.1.13.SNAPSHOT.1 lib/jacoco/model/class.rb
danger-jacoco-instacart-0.1.13 lib/jacoco/model/class.rb
danger-jacoco-instacart-0.1.12.SNAPSHOT.2 lib/jacoco/model/class.rb
danger-jacoco-instacart-0.1.12.SNAPSHOT.1 lib/jacoco/model/class.rb
danger-jacoco-instacart-0.1.12 lib/jacoco/model/class.rb
danger-jacoco-instacart-0.1.11 lib/jacoco/model/class.rb
danger-jacoco-instacart-0.1.10 lib/jacoco/model/class.rb
danger-jacoco-instacart-0.1.9 lib/jacoco/model/class.rb
danger-jacoco-0.1.8 lib/jacoco/model/class.rb
danger-jacoco-0.1.7 lib/jacoco/model/class.rb
danger-jacoco-0.1.6 lib/jacoco/model/class.rb
danger-jacoco-0.1.5 lib/jacoco/model/class.rb