Class: Temporal::Middleware::Entry

Inherits:
Struct
  • Object
show all
Defined in:
lib/temporal/middleware/entry.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#argsObject

Returns the value of attribute args

Returns:

  • (Object)

    the current value of args



3
4
5
# File 'lib/temporal/middleware/entry.rb', line 3

def args
  @args
end

#klassObject

Returns the value of attribute klass

Returns:

  • (Object)

    the current value of klass



3
4
5
# File 'lib/temporal/middleware/entry.rb', line 3

def klass
  @klass
end

Instance Method Details

#init_middlewareObject



4
5
6
# File 'lib/temporal/middleware/entry.rb', line 4

def init_middleware
  klass.new(*args)
end