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
-
.[](*args) ⇒ EasyTalk::Types::Composer::OneOf
Creates a new instance of ‘EasyTalk::Types::Composer::OneOf` with the given arguments.
Class Method Details
.[](*args) ⇒ EasyTalk::Types::Composer::OneOf
Creates a new instance of ‘EasyTalk::Types::Composer::OneOf` with the given arguments.
84 85 86 |
# File 'lib/easy_talk/types/composer.rb', line 84 def self.[](*args) EasyTalk::Types::Composer::OneOf.new(*args) end |