Class: Riddl::Wrapper::Description::Transformation

Inherits:
HashBase
  • Object
show all
Defined in:
lib/ruby/riddl/wrapper/description/message_and_transformation.rb

Instance Attribute Summary

Attributes inherited from HashBase

#content, #hash, #hash_base, #name

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from HashBase

#traverse?, #update_hash!

Constructor Details

#initialize(layer, name, xml = nil) ⇒ Transformation

{{{



56
57
58
# File 'lib/ruby/riddl/wrapper/description/message_and_transformation.rb', line 56

def initialize(layer,name,xml=nil)
  super layer,name,:transformation,xml
end

Class Method Details

.new_from_xml(name, xml) ⇒ Object



59
60
61
# File 'lib/ruby/riddl/wrapper/description/message_and_transformation.rb', line 59

def self.new_from_xml(name,xml)
  Transformation.new(nil,name,xml)
end