Class: FundingPrimer::ColorMatrix
- Inherits:
-
Object
- Object
- FundingPrimer::ColorMatrix
- Extended by:
- Forwardable
- Defined in:
- lib/funding_primer/color_matrix.rb
Instance Method Summary collapse
-
#initialize(matrix) ⇒ ColorMatrix
constructor
A new instance of ColorMatrix.
Constructor Details
#initialize(matrix) ⇒ ColorMatrix
Returns a new instance of ColorMatrix.
6 7 8 9 |
# File 'lib/funding_primer/color_matrix.rb', line 6 def initialize(matrix) @matrix = matrix colorize end |