Top Level Namespace

Defined Under Namespace

Modules: Cheese, Process

Constant Summary collapse

CHEESE_CONF =
"/etc/cheese/cheese.conf"
SUPPORTED_SCMS =
{ 
:svn =>   { :name => 'Subversion', :binary => 'svnserve' } }
SUPPORTED_DBS =
{ 
:psql =>  { :name => 'Postgresql', :binary => 'psql' },
:mysql => { :name => 'MySQL', :binary => 'mysql' } }
SILENCER =
">/dev/null 2>/dev/null"

Instance Method Summary collapse

Instance Method Details

#draw_boxObject



18
19
20
21
22
# File 'lib/cheese-setup.rb', line 18

def draw_box
  draw_line 50
  yield
  draw_line 50
end

#draw_line(count = 20) ⇒ Object



13
14
15
16
# File 'lib/cheese-setup.rb', line 13

def draw_line(count=20)
  @line = '-' * count
  say "<%= color(@line, :horizontal_line) %>"
end