class MetaCL::Templates::InitMatrix
Attributes
fill_with[RW]
name[RW]
size_m[RW]
size_n[RW]
type[RW]
Public Instance Methods
render(name, type, size_n, size_m, fill_with, platform)
click to toggle source
Calls superclass method
# File lib/metacl/templates/init_matrix.rb, line 6 def render(name, type, size_n, size_m, fill_with, platform) @name, @type, @size_n, @size_m, @fill_with = name, type, size_n, size_m, fill_with super IO.read("#{__dir__}/init_matrix.#{platform}.template") end