diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/zero/renderer.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/zero/renderer.rb b/lib/zero/renderer.rb index 3be7d6e..740d156 100644 --- a/lib/zero/renderer.rb +++ b/lib/zero/renderer.rb @@ -76,8 +76,8 @@ module Zero # @api private # @param string [String] the original type name # @return [String] the shorter representation or the original - def transform(string) - return map[string] if map.has_key?(string) + def self.transform(string) + return type_map[string] if type_map.has_key?(string) string end |