class ShellHeader::Header
Constants
- BAR
Public Class Methods
create(string, lines)
click to toggle source
# File lib/shell-header/header.rb, line 5 def self.create string, lines lines = 2 unless lines lines.to_i.times { puts " " } puts BAR puts "# #{string}" puts BAR end