Class: Lutaml::Lml::Executor::Result

Inherits:
Struct
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/lutaml/lml/executor.rb

Overview

Result of running the executor: hydrated instances plus any validation errors collected along the way. Delegates array-like methods to instances so existing callers that treated the run return value as an array continue to work.

Instance Attribute Summary collapse

Instance Attribute Details

#errorsObject

Returns the value of attribute errors

Returns:

  • (Object)

    the current value of errors



32
33
34
# File 'lib/lutaml/lml/executor.rb', line 32

def errors
  @errors
end

#instancesObject

Returns the value of attribute instances

Returns:

  • (Object)

    the current value of instances



32
33
34
# File 'lib/lutaml/lml/executor.rb', line 32

def instances
  @instances
end