class FileComposer::Documents::Result
Returns the result of a FileComposer::Document#write! call. Each write! call can produce N number of documents and each document will be represented in this instance's file_results
attribute.
Attributes
file_results[R]
time_in_seconds[R]
Public Class Methods
new(file_results, time_in_seconds)
click to toggle source
# File lib/file_composer/documents/result.rb, line 19 def initialize(file_results, time_in_seconds) @file_results = Array(file_results) @time_in_seconds = time_in_seconds freeze end