Class: EasyTalk::Types::BaseComposer

Inherits:
Object
  • Object
show all
Extended by:
T::Generic, T::Sig
Defined in:
lib/easy_talk/types/base_composer.rb

Overview

no-doc

Direct Known Subclasses

AllOf, AnyOf, OneOf

Constant Summary collapse

Elem =
type_member

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ BaseComposer

Initializes a new instance of the BaseComposer class.

Parameters:

  • args (Array)

    the items to be assigned to the instance variable @items



18
19
20
# File 'lib/easy_talk/types/base_composer.rb', line 18

def initialize(*args)
  @items = args
end

Instance Attribute Details

#itemsObject (readonly)

Returns the value of attribute items.



13
14
15
# File 'lib/easy_talk/types/base_composer.rb', line 13

def items
  @items
end