Module: Msg

Included in:
Freydis::Config, Freydis::Cryptsetup, Freydis::DiskLuks
Defined in:
lib/mods/msg.rb

Instance Method Summary collapse

Instance Method Details

#error(msg) ⇒ Object



12
13
14
15
# File 'lib/mods/msg.rb', line 12

def error(msg)
  warn "[-] #{msg}"
  exit 1
end

#info(msg) ⇒ Object



4
5
6
# File 'lib/mods/msg.rb', line 4

def info(msg)
  puts "> #{msg}"
end

#success(msg) ⇒ Object



8
9
10
# File 'lib/mods/msg.rb', line 8

def success(msg)
  puts " ===> #{msg}"
end