class MetaCL::Templates::InitArray

Attributes

fill_with[R]
length[R]
name[R]
type[R]

Public Instance Methods

render(name, type, length, fill_with, platform) click to toggle source
Calls superclass method
# File lib/metacl/templates/init_array.rb, line 6
def render(name, type, length, fill_with, platform)
  @name, @type, @length, @fill_with = name, type, length, fill_with
  super IO.read("#{__dir__}/init_array.#{platform}.template")
end