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

Class Method Details

.[]EasyTalk::Types::Composer::OneOf

Creates a new instance of ‘EasyTalk::Types::Composer::OneOf` with the given arguments.

Parameters:

  • args (Array)

    the list of arguments to be passed to the constructor

Returns:



85
86
87
# File 'lib/easy_talk/types/composer.rb', line 85

def self.[](*)
  EasyTalk::Types::Composer::OneOf.new(*)
end