Class: DiscreteEvent::EventQueue::Event

Inherits:
Struct
  • Object
show all
Defined in:
lib/discrete_event/event_queue.rb

Overview

Event queue entry for events; you do not need to use this class directly.

Instance Attribute Summary collapse

Instance Attribute Details

#actionObject

Returns the value of attribute action

Returns:

  • (Object)

    the current value of action



18
19
20
# File 'lib/discrete_event/event_queue.rb', line 18

def action
  @action
end

#timeObject

Returns the value of attribute time

Returns:

  • (Object)

    the current value of time



18
19
20
# File 'lib/discrete_event/event_queue.rb', line 18

def time
  @time
end