Skip to content

Commit

Permalink
replaced #map with #each because #each is enough
Browse files Browse the repository at this point in the history
  • Loading branch information
taichi-ishitani committed Feb 4, 2020
1 parent e49dd3a commit cd48562
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rggen/systemverilog/rtl/register_block/protocol/apb.rb
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
[pready, apb_if.pready],
[prdata, apb_if.prdata],
[pslverr, apb_if.pslverr]
].map { |lhs, rhs| code << assign(lhs, rhs) << nl }
].each { |lhs, rhs| code << assign(lhs, rhs) << nl }
end
end
end
Expand Down

0 comments on commit cd48562

Please sign in to comment.