Class: Bumpspark::Graph
- Inherits:
-
Object
- Object
- Bumpspark::Graph
- Includes:
- Formats::PNG
- Defined in:
- lib/bumpspark/graph.rb
Constant Summary
Constants included from Formats::PNG
Formats::PNG::BLACK, Formats::PNG::GREY, Formats::PNG::HEADER, Formats::PNG::RED
Instance Attribute Summary collapse
-
#numbers ⇒ Object
readonly
Returns the value of attribute numbers.
Instance Method Summary collapse
-
#initialize(numbers) ⇒ Graph
constructor
A new instance of Graph.
Methods included from Formats::PNG
Constructor Details
#initialize(numbers) ⇒ Graph
Returns a new instance of Graph.
8 9 10 |
# File 'lib/bumpspark/graph.rb', line 8 def initialize(numbers) @numbers = numbers end |
Instance Attribute Details
#numbers ⇒ Object (readonly)
Returns the value of attribute numbers.
7 8 9 |
# File 'lib/bumpspark/graph.rb', line 7 def numbers @numbers end |