Module: T::OneOf
- Included in:
- EasyTalk::SchemaDefinition
- Defined in:
- lib/easy_talk/types/composer.rb
Overview
Shorthand module for accessing the OneOf composer
Class Method Summary collapse
-
.[] ⇒ EasyTalk::Types::Composer::OneOf
Creates a new instance of ‘EasyTalk::Types::Composer::OneOf` with the given arguments.
Class Method Details
.[] ⇒ EasyTalk::Types::Composer::OneOf
Creates a new instance of ‘EasyTalk::Types::Composer::OneOf` with the given arguments.
85 86 87 |
# File 'lib/easy_talk/types/composer.rb', line 85 def self.[](*) EasyTalk::Types::Composer::OneOf.new(*) end |