method
yes_other_attr_reader

yes_other_attr_reader(*attrs)
private
Hide source
# File lib/rss/rss.rb, line 359 def yes_other_attr_reader(*attrs) attrs.each do |attr| attr = attr.id2name if attr.kind_of?(Integer) module_eval("attr_reader(:\#{attr})\ndef \#{attr}?\nUtils::YesOther.parse(@\#{attr})\nend\n", __FILE__, __LINE__ + 1) end end