Sha256: 6d3deb9f7c8a8662854dbff5c661d96de0fcdec517d5002a79b48d76304b5f21
Contents?: true
Size: 250 Bytes
Versions: 19
Compression:
Stored size: 250 Bytes
Contents
# encoding: utf-8 module Shelr class Terminal def size height, width = `stty size`.split(' ') { :height => height.to_i, :width => width.to_i } end def puts_line STDOUT.puts "-=" * (size[:width] / 2) end end end
Version data entries
19 entries across 19 versions & 1 rubygems