[ create a new paste ] login | about

Link: http://codepad.org/YPauGpPa    [ raw code | fork ]

Ruby, pasted on Feb 24:
1
2
3
4
5
          tokens = match.split('.')
          last = tokens[0..-2].inject(h) do |h, scope|
            h[scope] ||= {}
          end
          last[tokens.last] = 'untranslated'


Create a new paste based on this one


Comments: