Module: RSS::Maker::AtomPersonConstructBase

Class Method Summary collapse

Class Method Details

.append_features(klass) ⇒ Object



280
281
282
283
284
285
286
287
288
289
# File '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