Class: RequestInfo
- Inherits:
-
Struct
- Object
- Struct
- RequestInfo
- Includes:
- Comparable
- Defined in:
- lib/sisfc/vm.rb
Instance Attribute Summary collapse
-
#arrival_time ⇒ Object
Returns the value of attribute arrival_time.
-
#request ⇒ Object
Returns the value of attribute request.
-
#service_time ⇒ Object
Returns the value of attribute service_time.
Instance Method Summary collapse
Instance Attribute Details
#arrival_time ⇒ Object
Returns the value of attribute arrival_time
7 8 9 |
# File 'lib/sisfc/vm.rb', line 7 def arrival_time @arrival_time end |
#request ⇒ Object
Returns the value of attribute request
7 8 9 |
# File 'lib/sisfc/vm.rb', line 7 def request @request end |
#service_time ⇒ Object
Returns the value of attribute service_time
7 8 9 |
# File 'lib/sisfc/vm.rb', line 7 def service_time @service_time end |
Instance Method Details
#<=>(o) ⇒ Object
9 10 11 |
# File 'lib/sisfc/vm.rb', line 9 def <=> (o) arrival_time <=> o.arrival_time end |