Skip to content

Instantly share code, notes, and snippets.

@ciaranarcher
Created July 31, 2012 13:00
Show Gist options
  • Save ciaranarcher/3216893 to your computer and use it in GitHub Desktop.
Save ciaranarcher/3216893 to your computer and use it in GitHub Desktop.
my_printer
module MyPrinter
def self.print(str, times=1)
p ((str + ' ') * times).strip
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment