模块 RSS::Maker::AtomPersonConstructBase

公共类方法

append_features(klass) 点击切换源代码
调用超类方法
# File rss-0.3.1/lib/rss/maker/base.rb, line 280
      def self.append_features(klass)
        super

        klass.class_eval(<<-EOC, __FILE__, __LINE__ + 1)
          %w(name uri email).each do |element|
            attr_accessor element
            add_need_initialize_variable(element)
          end
        EOC
      end