Class: Trailblazer::Developer::Trace::Entity

Inherits:
Struct
  • Object
show all
Defined in:
lib/trailblazer/developer/trace.rb

Overview

Structures used in capture_args and capture_return. These get pushed onto one Level in a Stack.

Level[
  Level[              ==> this is a scalar task
    Entity::Input
    Entity::Output
  ]
  Level[              ==> nested task
    Entity::Input
    Level[
      Entity::Input
      Entity::Output
    ]
    Entity::Output
  ]
]

Constant Summary collapse

Input =
Class.new(Entity)
Output =
Class.new(Entity)

Instance Attribute Summary collapse

Instance Attribute Details

#activityObject

Returns the value of attribute activity

Returns:

  • (Object)

    the current value of activity



110
111
112
# File 'lib/trailblazer/developer/trace.rb', line 110

def activity
  @activity
end

#dataObject

Returns the value of attribute data

Returns:

  • (Object)

    the current value of data



110
111
112
# File 'lib/trailblazer/developer/trace.rb', line 110

def data
  @data
end

#taskObject

Returns the value of attribute task

Returns:

  • (Object)

    the current value of task



110
111
112
# File 'lib/trailblazer/developer/trace.rb', line 110

def task
  @task
end