Created
November 10, 2015 06:49
-
-
Save sumyapp/f355d77c8c6fdb02201a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Dirty | |
# This method smells of :reek:NestedIterators but ignores them | |
def awful(x, y, offset = 0, log = false) | |
puts @screen.title | |
@screen = widgets.map { |w| w.each { |key| key += 3 * x } } | |
puts @screen.contents | |
puts @screen.contents | |
puts @screen.contents | |
puts @screen.contents | |
puts @screen.contents | |
puts @screen.contents | |
puts @screen.contents | |
puts @screen.contents | |
puts @screen.contents | |
puts @screen.contents | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment