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
abstract.
Methods inherited from Record
class_for, #management_record?, parse_header, #serialize, #version
Constructor Details
#initialize(type, id, flagment) ⇒ GenericDataRecord
abstract
511 512 513 514 |
# File 'lib/cgialt/fcgi/core.rb', line 511 def initialize(type, id, flagment) # abstract super type, id @flagment = flagment end |
Instance Attribute Details
#flagment ⇒ Object (readonly)
Returns the value of attribute flagment.
516 517 518 |
# File 'lib/cgialt/fcgi/core.rb', line 516 def flagment @flagment end |
Class Method Details
.parse(id, body) ⇒ Object
507 508 509 |
# File 'lib/cgialt/fcgi/core.rb', line 507 def self::parse(id, body) new(id, body) end |
Instance Method Details
#empty? ⇒ Boolean
518 519 520 |
# File 'lib/cgialt/fcgi/core.rb', line 518 def empty? @flagment.empty? end |