Class: H2::Client::ReadGate

Inherits:
Object
  • Object
show all
Includes:
Blockable
Defined in:
lib/h2/client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Blockable

#block!, #init_blocking, #unblock!

Constructor Details

#initializeReadGate

Returns a new instance of ReadGate.



413
414
415
416
# File 'lib/h2/client.rb', line 413

def initialize
  init_blocking
  @first = true
end

Instance Attribute Details

#firstObject

Returns the value of attribute first.



411
412
413
# File 'lib/h2/client.rb', line 411

def first
  @first
end