diff options
author | Saku Ytti <saku@ytti.fi> | 2014-04-14 19:19:57 +0300 |
---|---|---|
committer | Saku Ytti <saku@ytti.fi> | 2014-04-14 19:19:57 +0300 |
commit | 788890b7342639c9b5b39d664cd2a92a7abbf729 (patch) | |
tree | fcc05890cb3e284e7b5282a0f31b176c7a6203f4 /lib/oxidized | |
parent | d5de3bbe39d8b60fee5cc1dad7243703f215a583 (diff) |
update to newer asetus version0.0.51
Diffstat (limited to 'lib/oxidized')
-rw-r--r-- | lib/oxidized/source/source.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |