Class: EasyTalk::Types::Composer::OneOf

Inherits:
EasyTalk::Types::Composer show all
Defined in:
lib/easy_talk/types/composer.rb

Overview

Represents a composition type that allows one of the specified types.

Constant Summary

Constants inherited from BaseComposer

BaseComposer::Elem

Instance Attribute Summary

Attributes inherited from BaseComposer

#items

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from BaseComposer

#initialize

Constructor Details

This class inherits a constructor from EasyTalk::Types::BaseComposer

Class Method Details

.nameObject



43
44
45
# File 'lib/easy_talk/types/composer.rb', line 43

def self.name
  :oneOf
end

Instance Method Details

#nameObject



47
48
49
# File 'lib/easy_talk/types/composer.rb', line 47

def name
  :oneOf
end