From 788890b7342639c9b5b39d664cd2a92a7abbf729 Mon Sep 17 00:00:00 2001 From: Saku Ytti Date: Mon, 14 Apr 2014 19:19:57 +0300 Subject: update to newer asetus version --- lib/oxidized/source/source.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/oxidized/source/source.rb b/lib/oxidized/source/source.rb index 93c9b6f..5093950 100644 --- a/lib/oxidized/source/source.rb +++ b/lib/oxidized/source/source.rb @@ -10,7 +10,7 @@ module Oxidized @map = (CFG.model_map or {}) end def map_model model - @map.key?(model) ? @map[model] : model + @map.has_key?(model) ? @map[model] : model end end end -- cgit v1.2.1