Class: Servactory::Outputs::Output::Actor

Inherits:
Object
  • Object
show all
Defined in:
lib/servactory/outputs/output.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(output) ⇒ Actor

Returns a new instance of Actor.



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

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

  define_identity_methods(output)
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



7
8
9
# File 'lib/servactory/outputs/output.rb', line 7

def name
  @name
end

#optionsObject (readonly)

Returns the value of attribute options.



7
8
9
# File 'lib/servactory/outputs/output.rb', line 7

def options
  @options
end

#typesObject (readonly)

Returns the value of attribute types.



7
8
9
# File 'lib/servactory/outputs/output.rb', line 7

def types
  @types
end