method
text_type_writer
text_type_writer(name, disp_name=name)
private
Hide source
# File lib/rss/rss.rb, line 486 def text_type_writer(name, disp_name=name) module_eval( def #{name}=(new_value) if @do_validate and !["text", "html", "xhtml", nil].include?(new_value) raise NotAvailableValueError.new('#{disp_name}', new_value) end @#{name} = new_value end, *get_file_and_line_from_caller(2)) end