method
def_csv_element
def_csv_element(name, type=nil)
public
Hide source
# File lib/rss/maker/base.rb, line 159 def def_csv_element(name, type=nil) def_other_element_without_accessor(name) attr_reader(name) converter = "" if type == :integer converter = "{|v| Integer(v)}" end module_eval( def #{name}=(value) @#{name} = Utils::CSV.parse(value)#{converter} end, __FILE__, __LINE__ + 1) end