csv_attr_reader(*attrs) private

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/rss/rss.rb, line 403
    def csv_attr_reader(*attrs)
      separator = nil
      if attrs.last.is_a?(Hash)
        options = attrs.pop
        separator = options[:separator]
      end
      separator ||= ", "
      attrs.each do |attr|
        attr = attr.id2name if attr.kind_of?(Integer)
        module_eval(          attr_reader(:#{attr})          def #{attr}_content            if @#{attr}.nil?              @#{attr}            else              @#{attr}.join(#{separator.dump})            end          end, __FILE__, __LINE__ + 1)
      end
    end
Register or log in to add new notes.