method
yes_other_writer
yes_other_writer(name, disp_name=name)
private
Hide source
# File lib/rss/rss.rb, line 521 def yes_other_writer(name, disp_name=name) module_eval( def #{name}=(new_value) if [true, false].include?(new_value) new_value = new_value ? "yes" : "no" end @#{name} = new_value end, __FILE__, __LINE__ + 1) end