method
add_need_initialize_variable
add_need_initialize_variable(variable_name, init_value=nil, &init_block)
public
Hide source
# File lib/rss/maker/base.rb, line 34 def add_need_initialize_variable(variable_name, init_value=nil, &init_block) init_value ||= init_block self::NEED_INITIALIZE_VARIABLES << [variable_name, init_value] end