Module: SignedXml::Transformable
Instance Method Summary collapse
Methods included from Logging
Instance Method Details
#apply_transforms ⇒ Object
9 10 11 12 13 14 15 16 17 18 |
# File 'lib/signed_xml/transformable.rb', line 9 def apply_transforms transforms.reduce(start) do |input, transform| logger.debug "applying transform #{transform.inspect}" logger.debug "input: [#{input}]" result = transform.apply(input) logger.debug "output: [#{result}]" result end end |
#transforms ⇒ Object
5 6 7 |
# File 'lib/signed_xml/transformable.rb', line 5 def transforms @transforms ||= [] end |