class MetricFu::Rcov::Line

Attributes

content[RW]
was_run[RW]

Public Class Methods

new(content, was_run) click to toggle source
# File lib/generators/rcov.rb, line 11
def initialize(content, was_run)
  @content = content
  @was_run = was_run
end

Public Instance Methods

to_h() click to toggle source
# File lib/generators/rcov.rb, line 16
def to_h
  {:content => @content, :was_run => @was_run}
end