method
convert_attr_reader
convert_attr_reader(*attrs)
private
Hide source
# File lib/rss/rss.rb, line 260 def convert_attr_reader(*attrs) attrs.each do |attr| attr = attr.id2name if attr.kind_of?(Integer) module_eval("def \#{attr}\nif @converter\n@converter.convert(@\#{attr})\nelse\n@\#{attr}\nend\nend\n", *get_file_and_line_from_caller(2)) end end