Sha256: 5e8ec96d0849da10fa081b0678416864241fe0f0603ca60874efa6fe664a1b86
Contents?: true
Size: 406 Bytes
Versions: 12
Compression:
Stored size: 406 Bytes
Contents
module Orly module OwlPrinter OWL = <<END ,___, {o,O} |)``) -"-"- O RLY? END OWL_LINES = OWL.split("\n") def self.print(lines = []) lines.unshift("") if lines.length < OWL_LINES.length [lines.length, OWL_LINES.length].max.times do |i| owl_line = OWL_LINES[i] || "" print_line = lines[i] || "" puts "#{owl_line}\t#{print_line}" end end end end
Version data entries
12 entries across 12 versions & 1 rubygems