File: pa.rb

package info (click to toggle)
ruby-paint 2.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 232 kB
  • sloc: ruby: 688; makefile: 4
file content (13 lines) | stat: -rw-r--r-- 226 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

require 'paint'

module Kernel
  private

  # A helper method similar to puts for printing a String on STDOUT
  # Passes all arguments to Paint.[]
  def pa(*args)
    puts Paint[*args]
  end
end