# File lib/color/rgb/jp/base/encode.rb, line 10 def encode_to(to, from, value) return nil if value.nil? return value if to.nil? return value if from.nil? return value if from == to return Iconv.iconv(to, from, value)[0] end
# File lib/color/rgb/jp/base/encode.rb, line 18 def with_internal_encoding(value, from) yield encode_to(INTERNAL_ENCODING, from, value) end
[Validate]
Generated with the Darkfish Rdoc Generator 2.