Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/colorls/monkeys.rb

Instance Method Summary collapse

Instance Method Details

#colorize(color) ⇒ Object



4
5
6
# File 'lib/colorls/monkeys.rb', line 4

def colorize(color)
  self.color(color)
end

#uniqObject



8
9
10
# File 'lib/colorls/monkeys.rb', line 8

def uniq
  chars.uniq.join
end