Class: Angelo::Base::ChunkedResponse

Inherits:
Object
  • Object
show all
Defined in:
lib/angelo/base.rb

Instance Method Summary collapse

Constructor Details

#initialize(&block) ⇒ ChunkedResponse



369
370
371
# File 'lib/angelo/base.rb', line 369

def initialize &block
  @chunker = block
end

Instance Method Details

#each(&block) ⇒ Object



373
374
375
# File 'lib/angelo/base.rb', line 373

def each &block
  @chunker[block]
end