Class: Servactory::Internals::Internal::Actor

Inherits:
Object
  • Object
show all
Defined in:
lib/servactory/internals/internal.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(internal) ⇒ Actor

Returns a new instance of Actor.



11
12
13
14
15
16
17
# File 'lib/servactory/internals/internal.rb', line 11

def initialize(internal)
  @name = internal.name
  @types = internal.types
  @options = internal.options

  define_identity_methods(internal)
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



7
8
9
# File 'lib/servactory/internals/internal.rb', line 7

def name
  @name
end

#optionsObject (readonly)

Returns the value of attribute options.



7
8
9
# File 'lib/servactory/internals/internal.rb', line 7

def options
  @options
end

#typesObject (readonly)

Returns the value of attribute types.



7
8
9
# File 'lib/servactory/internals/internal.rb', line 7

def types
  @types
end