lib-plugins/yapra/plugin/test/append_entry.rb in yapra-0.1.0 vs lib-plugins/yapra/plugin/test/append_entry.rb in yapra-0.1.1
- old
+ new
@@ -1,18 +1,18 @@
-# module: Test::AppendEntry -- Yuanying
-#
-# append entry to data array.
-#
-# example:
-#
-# - module: Test::AppendEntry
-# config:
-# title: 'title'
-# description: 'description.'
-#
require 'yapra/plugin/base'
module Yapra::Plugin::Test
+ # module: Test::AppendEntry -- Yuanying
+ #
+ # append entry to data array.
+ #
+ # example:
+ #
+ # - module: Test::AppendEntry
+ # config:
+ # title: 'title'
+ # description: 'description.'
+
class AppendEntry < Yapra::Plugin::Base
def run(data)
item = RSS::RDF::Item.new
plugin_config.each do |k, v|
set_attribute_to item, k, v
\ No newline at end of file