class ParamsReady::Reporter

Attributes

name[R]

Public Class Methods

new(name, parent) click to toggle source
Calls superclass method ParamsReady::AbstractReporter::new
# File lib/params_ready/result.rb, line 92
def initialize(name, parent)
  super name
  @parent = parent
end

Public Instance Methods

child_ok?(path) click to toggle source
# File lib/params_ready/result.rb, line 101
def child_ok?(path)
  @parent.child_ok?(full_path(path))
end
ok?() click to toggle source
# File lib/params_ready/result.rb, line 97
def ok?
  child_ok?(nil)
end
report_error(path, err) click to toggle source
# File lib/params_ready/result.rb, line 105
def report_error(path, err)
  @parent.report_error(full_path(path), err)
end