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
-
.count ⇒ Object
Returns the value of attribute count.
-
.delta_x ⇒ Object
Returns the value of attribute delta_x.
-
.delta_y ⇒ Object
Returns the value of attribute delta_y.
-
.file_name ⇒ Object
Returns the value of attribute file_name.
-
.mode ⇒ Object
Returns the value of attribute mode.
Class Method Summary collapse
Class Attribute Details
.count ⇒ Object
Returns the value of attribute count.
5 6 7 |
# File 'lib/pixelflut.rb', line 5 def count @count end |
.delta_x ⇒ Object
Returns the value of attribute delta_x.
5 6 7 |
# File 'lib/pixelflut.rb', line 5 def delta_x @delta_x end |
.delta_y ⇒ Object
Returns the value of attribute delta_y.
5 6 7 |
# File 'lib/pixelflut.rb', line 5 def delta_y @delta_y end |
.file_name ⇒ Object
Returns the value of attribute file_name.
5 6 7 |
# File 'lib/pixelflut.rb', line 5 def file_name @file_name end |
.mode ⇒ Object
Returns the value of attribute mode.
5 6 7 |
# File 'lib/pixelflut.rb', line 5 def mode @mode end |
Class Method Details
.data ⇒ Object
7 8 9 |
# File 'lib/pixelflut.rb', line 7 def data sliced(convert(*load).shuffle!, @count).map!(&:join) end |