lib/clutterbuck/erb.rb in clutterbuck-erb-0.1.0 vs lib/clutterbuck/erb.rb in clutterbuck-erb-0.1.1

- old
+ new

@@ -72,10 +72,10 @@ unless k.to_s =~ /^[A-Za-z_][A-Za-z0-9_]*[\!\?]?$/ ::Kernel.raise ::ArgumentError, "Invalid key in vars list: #{k.inspect}" end - instance_eval "def #{k}; @vars[#{k}]; end" + instance_eval "def #{k}; @vars[#{k.inspect}]; end" end end end # Render an ERB template as a Rack response.