lib/feedjira/podcast/item/dublin.rb in feedjira-podcast-0.9.8 vs lib/feedjira/podcast/item/dublin.rb in feedjira-podcast-0.9.9

- old
+ new

@@ -1,18 +1,20 @@ module Feedjira module Podcast module Item module Dublin - def self.included(base) - - base.element :"dc:creator", as: :dc_creator - + module InstanceMethods def dc @dc ||= Struct.new(:creator).new( dc_creator, ) end + end + def self.included(base) + base.include(InstanceMethods) + + base.element :"dc:creator", as: :dc_creator end end end end end