lib/licensed/reporters/reporter.rb
# Generate a report for a licensed command execution
# Yields a report object which can be used to view or add
# data generated for this run
#
# Returns the result of the yielded method
Generate a report for a licensed command execution
Yields a report object which can be used to view or add
data generated for this run

Returns the result of the yielded method
Generate a report for a licensed command execution Yields a report object which can be used to view or add data generated for this run Returns the result of the yielded method
def report_run(command)
        result = nil
        @run_report = Report.new(name: nil, target: command)
        begin
          result = yield @run_report
        ensure
          @run_report = nil
        end
        result
      end
def report_run ( command ) result = nil @run_report = Report . new ( name : nil , target : command ) begin result = yield @run_report ensure @run_report = nil end result end
Generate a report for a licensed command execution
Yields a report object which can be used to view or add
data generated for this run
Generate a report for a licensed command execution Yields a report object which can be used to view or add data generated for this run
command
<not_specific>