Class: Pixelflut::Canvas::Streamed

Inherits:
Base
  • Object
show all
Defined in:
lib/pixelflut/canvas/streamed.rb

Instance Attribute Summary

Attributes inherited from Base

#offset_x, #offset_y

Instance Method Summary collapse

Methods inherited from Base

#[]=, #ascii, #clear!, #color, #line, #pix, #rect, #translate

Constructor Details

#initialize(stream = $stdout) ⇒ Streamed

Returns a new instance of Streamed.



8
9
10
11
# File 'lib/pixelflut/canvas/streamed.rb', line 8

def initialize(stream = $stdout)
  super()
  @stream = stream
end