Class: Etwin::Core::ObjectType

Inherits:
T::Enum
  • Object
show all
Extended by:
T::Sig
Defined in:
lib/etwin/core/object_type.rb

Overview

Object type enum

Instance Method Summary collapse

Instance Method Details

#inspectObject



30
31
32
# File 'lib/etwin/core/object_type.rb', line 30

def inspect
  "ObjectType(#{self})"
end

#to_sObject



25
26
27
# File 'lib/etwin/core/object_type.rb', line 25

def to_s
  T.cast(serialize, String)
end