Adds monkeys.rb, and clean-ups before merging

This commit is contained in:
Athitya 2017-10-28 21:03:05 +05:30
parent 2ea96f1212
commit 0501c0b4a2
3 changed files with 7 additions and 9 deletions

View file

@ -1,10 +1,3 @@
class String
def colorize(color)
# puts(color)
self.color(color.to_sym)
end
end
module ColorLS
class Core
def initialize(input=nil, all: false, report: false, sort: false, show: false,

5
lib/colorls/monkeys.rb Normal file
View file

@ -0,0 +1,5 @@
class String
def colorize(color)
self.color(color.to_sym)
end
end

View file

@ -18,12 +18,12 @@ day_old: darkred
hour_old: saddlebrown
no_modifier: black
# File Size red yellow green
# File Size
file_large: darkred
file_medium: saddlebrown
file_small: black
# Random black green cyan yellow black
# Random
report: black
user: darkblue
tree: cyan