Class: Lutaml::Model::ExportTransformer

Inherits:
Transformer show all
Defined in:
lib/lutaml/model/services/transformer.rb

Instance Attribute Summary

Attributes inherited from Transformer

#attribute, #format, #rule

Instance Method Summary collapse

Methods inherited from Transformer

#apply_class_transformer, call, #call, #get_transform, #initialize

Constructor Details

This class inherits a constructor from Lutaml::Model::Transformer

Instance Method Details

#transformation_methodsObject

Precedene of transformations (reverse order):

  1. Attribute transform

  2. Rule transform



81
82
83
84
85
86
# File 'lib/lutaml/model/services/transformer.rb', line 81

def transformation_methods
  [
    get_transform(attribute, :export),
    get_transform(rule, :export),
  ].compact
end