method
def_csv_element
![No documentation Importance_0](https://d2vfyqvduarcvs.cloudfront.net/images/importance_0.png?1349367920)
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