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

.[]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:



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

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