lib/feedjira/podcast/channel/skip_days.rb in feedjira-podcast-0.9.8 vs lib/feedjira/podcast/channel/skip_days.rb in feedjira-podcast-0.9.9
- old
+ new
@@ -3,12 +3,10 @@
module Channel
class SkipDays
include SAXMachine
include FeedUtilities
- elements :day, as: :day do |day|
- day.to_sym
- end
+ elements :day, as: :day, &:to_sym
def days
@days ||= day ? day : []
end
end