module TextHue
Constants
- VERSION
Public Class Methods
convert(string)
click to toggle source
# File lib/texthue.rb, line 5 def self.convert(string) "\##{Digest::MD5.hexdigest(string)[0...6]}" end
# File lib/texthue.rb, line 5 def self.convert(string) "\##{Digest::MD5.hexdigest(string)[0...6]}" end