lib/gist_updater/config.rb in gist_updater-0.2.0 vs lib/gist_updater/config.rb in gist_updater-0.3.0
- old
+ new
@@ -9,11 +9,11 @@
end
def each
return enum_for(:each) unless block_given?
- config.each do |gist_id, file_path|
- yield(gist_id, file_path)
+ config.each do |c|
+ yield(gist_id: c.first, file_paths: c.drop(1))
end
end
private