Class: DiscreteEvent::EventQueue::Event

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

Overview

Event queue entry for events.

Instance Attribute Summary collapse

Instance Attribute Details

#actionObject

Returns the value of attribute action

Returns:

  • (Object)

    the current value of action



20
21
22
# File 'lib/discrete_event/event_queue.rb', line 20

def action
  @action
end

#timeObject

Returns the value of attribute time

Returns:

  • (Object)

    the current value of time



20
21
22
# File 'lib/discrete_event/event_queue.rb', line 20

def time
  @time
end