method
expand_ch_hash
v1_8_7_72 -
Show latest stable
- Class:
String
expand_ch_hash(from, to)private
No documentation available.
# File lib/jcode.rb, line 118
def expand_ch_hash from, to
h = {}
afrom = _expand_ch(from)
ato = _expand_ch(to)
afrom.each_with_index do |x,i| h[x] = ato[i] || ato[-1] end
h
end