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