Module: T::AnyOf

Included in:
EasyTalk::SchemaDefinition
Defined in:
lib/easy_talk/types/composer.rb

Overview

Shorthand module for accessing the AnyOf composer

Class Method Summary collapse

Class Method Details

.[](*args) ⇒ EasyTalk::Types::Composer::AnyOf

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

Parameters:

  • args (Array)

    the list of arguments to be passed to the constructor

Returns:



73
74
75
# File 'lib/easy_talk/types/composer.rb', line 73

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