test/support/colours.rb in vedeu-0.1.3 vs test/support/colours.rb in vedeu-0.1.4
- old
+ new
@@ -1,15 +1,15 @@
#!/usr/bin/env ruby
-require_relative '../../lib/vedeu/support/translator'
+require_relative '../../lib/vedeu/output/colour_translator'
values = ["00", "5f", "87", "af", "d7", "ff"]
codes = {}
values.each do |r|
values.each do |g|
values.each do |b|
value = ["#", r, g, b].join
- trans = Vedeu::Translator.translate(value)
+ trans = Vedeu::ColourTranslator.translate(value)
codes[trans] = value
end
end
end