uri_convert_attr_reader(*attrs)
private
Hide source
# File lib/rss/rss.rb, line 347 def uri_convert_attr_reader(*attrs) attrs.each do |attr| module_eval( def #{attr}_without_base convert(@#{attr}) end def #{attr} value = #{attr}_without_base return nil if value.nil? if /\\A[a-z][a-z0-9+.\\-]*:/i =~ value value else "\#{base}\#{value}" end end, *get_file_and_line_from_caller(2)) end end