소스 검색

do not use interpolation

Chris Mague 7 년 전
부모
커밋
292abb8e77
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      lib/neoinfra/config.rb

+ 1 - 1
lib/neoinfra/config.rb

@@ -15,7 +15,7 @@ module NeoInfra
       )
 
       @config.keys.each do |c|
-        define_singleton_method(:"#{c}") do
+        define_singleton_method(c.to_sym) do
           @config[c]
         end
       end