Class: FCGI::GenericDataRecord
Direct Known Subclasses
Constant Summary
Constants inherited from Record
Record::HEADER_FORMAT, Record::HEADER_LENGTH, Record::RECORD_CLASS
Instance Attribute Summary collapse
-
#flagment ⇒ Object
readonly
Returns the value of attribute flagment.
Attributes inherited from Record
Class Method Summary collapse
Instance Method Summary collapse
- #empty? ⇒ Boolean
-
#initialize(type, id, flagment) ⇒ GenericDataRecord
constructor
A new instance of GenericDataRecord.
Methods inherited from Record
class_for, #management_record?, parse_header, #serialize, #version
Constructor Details
#initialize(type, id, flagment) ⇒ GenericDataRecord
Returns a new instance of GenericDataRecord.
510 511 512 513 |
# File 'lib/cgialt/fcgi/core.rb', line 510 def initialize(type, id, flagment) super type, id @flagment = flagment end |
Instance Attribute Details
#flagment ⇒ Object (readonly)
Returns the value of attribute flagment.
515 516 517 |
# File 'lib/cgialt/fcgi/core.rb', line 515 def flagment @flagment end |
Class Method Details
.parse(id, body) ⇒ Object
506 507 508 |
# File 'lib/cgialt/fcgi/core.rb', line 506 def self::parse(id, body) new(id, body) end |
Instance Method Details
#empty? ⇒ Boolean
517 518 519 |
# File 'lib/cgialt/fcgi/core.rb', line 517 def empty? @flagment.empty? end |