Module: T::OneOf

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

Overview

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

Returns:

Class Method Summary collapse

Class Method Details

.[](*args) ⇒ Object



27
28
29
# File 'lib/easy_talk/types/one_of.rb', line 27

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