Module: Pixelflut

Defined in:
lib/pixelflut.rb,
lib/pixelflut/sender.rb,
lib/pixelflut/version.rb

Defined Under Namespace

Modules: Sender

Constant Summary collapse

VERSION =
'1.0.2'

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.countObject

Returns the value of attribute count.



5
6
7
# File 'lib/pixelflut.rb', line 5

def count
  @count
end

.delta_xObject

Returns the value of attribute delta_x.



5
6
7
# File 'lib/pixelflut.rb', line 5

def delta_x
  @delta_x
end

.delta_yObject

Returns the value of attribute delta_y.



5
6
7
# File 'lib/pixelflut.rb', line 5

def delta_y
  @delta_y
end

.file_nameObject

Returns the value of attribute file_name.



5
6
7
# File 'lib/pixelflut.rb', line 5

def file_name
  @file_name
end

.modeObject

Returns the value of attribute mode.



5
6
7
# File 'lib/pixelflut.rb', line 5

def mode
  @mode
end

Class Method Details

.dataObject



7
8
9
# File 'lib/pixelflut.rb', line 7

def data
  sliced(convert(*load).shuffle!, @count).map!(&:join)
end