Skip to content
Permalink
Browse files

Replace resource key name _ to :

  • Loading branch information...
n0ts committed Feb 10, 2017
1 parent dfd4211 commit abd3dd8f038fa51286188ecfe447ed6858ef7132
Showing with 4 additions and 1 deletion.
  1. +4 −1 lib/kumogata/client.rb
@@ -223,7 +223,10 @@ def guess_format(path_or_url)
def evaluate_template(template, path_or_url)
key_converter = proc do |key|
key = key.to_s
key.gsub!('__', '::') unless @options.skip_replace_underscore?
unless @options.skip_replace_underscore?
key.gsub!('_', ':')
key.gsub!('__', '::')
end
key
end

0 comments on commit abd3dd8

Please sign in to comment.
You can’t perform that action at this time.