Skip to content

Commit

Permalink
Enhance outputs - colorize
Browse files Browse the repository at this point in the history
  • Loading branch information
KINGSABRI committed Jan 31, 2013
1 parent 4ac4a69 commit b0c3b77
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions bofk-cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,12 @@
#--> Hex to little endian characters converter
when options[:hex2endl]
then
@hex2lendian = Hex2littleEndian.new(options[:hex2endl])
puts @hex2lendian.to_Lendian
decor = util_etc.decorate("Little endian format")
puts "#{decor[:head]}".light_blue + "#{decor[:title]}".white + "#{decor[:tail]}".light_blue
@hex2lendian = Hex2littleEndian.new(options[:hex2endl])
puts @hex2lendian.to_Lendian
puts "#{decor[:end]}".light_blue
puts ""

#--> Hex to bin
when options[:hex2bin]
Expand Down

0 comments on commit b0c3b77

Please sign in to comment.