class Xcov::Range

Attributes

execution_count[R]
length[R]
location[R]

Public Class Methods

map(dictionary) click to toggle source

Class methods

# File lib/xcov/model/range.rb, line 16
def self.map(dictionary)
  Range.new(
    dictionary["executionCount"],
    dictionary["location"],
    dictionary["length"]
  )
end
new(execution_count, location, length) click to toggle source
# File lib/xcov/model/range.rb, line 8
def initialize(execution_count, location, length)
  @execution_count = execution_count
  @location = location
  @length = length
end