method
def_get_text_element
def_get_text_element(uri, name, file, line)
private
Hide source
# File lib/rss/parser.rb, line 242 def def_get_text_element(uri, name, file, line) register_uri(uri, name) unless private_instance_methods(false).include?("start_#{name}") module_eval("def start_\#{name}(name, prefix, attrs, ns)\nuri = _ns(ns, prefix)\nif self.class.uri_registered?(uri, \#{name.inspect})\nstart_get_text_element(name, prefix, ns, uri)\nelse\nstart_else_element(name, prefix, attrs, ns)\nend\nend\n", file, line) __send__("private", "start_#{name}") end end