Module: Multisync::Colors

Included in:
Cli, List, Runtime, Summary
Defined in:
lib/multisync/colors.rb

Instance Method Summary collapse

Instance Method Details

#as_fail(x) ⇒ Object



20
21
22
# File 'lib/multisync/colors.rb', line 20

def as_fail x
  Rainbow(x).color(:red)
end

#as_main(x) ⇒ Object



8
9
10
# File 'lib/multisync/colors.rb', line 8

def as_main x
  Rainbow(x).color(:aqua)
end

#as_note(x) ⇒ Object



4
5
6
# File 'lib/multisync/colors.rb', line 4

def as_note x
  Rainbow(x).faint
end

#as_skipped(x) ⇒ Object



12
13
14
# File 'lib/multisync/colors.rb', line 12

def as_skipped x
  Rainbow(x).color(:yellow)
end

#as_success(x) ⇒ Object



16
17
18
# File 'lib/multisync/colors.rb', line 16

def as_success x
  Rainbow(x).color(:green)
end