Commit 88a33fe

mokha <mokha@cisco.com>
2018-03-21 01:18:03
single line.
1 parent afafd9e
Changed files (1)
lib
lib/xsay/render.rb
@@ -23,9 +23,7 @@ module Xsay
 
     def each_frame
       frames = distance.downto(0).to_a + 0.upto(distance).to_a
-      frames.each do |frame|
-        yield frame
-      end
+      frames.each { |x| yield x }
     end
 
     private