From 22ec4fc70e11c10a771bce961ca74a340207cb60 Mon Sep 17 00:00:00 2001 From: bogdanRada Date: Thu, 21 Nov 2013 18:34:51 +0200 Subject: [PATCH] fix showing name of complex types --- lib/washout_builder/param.rb | 2 +- lib/washout_builder/version.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/washout_builder/param.rb b/lib/washout_builder/param.rb index caa5fcf..d5c2b64 100644 --- a/lib/washout_builder/param.rb +++ b/lib/washout_builder/param.rb @@ -14,7 +14,7 @@ def self.parse_def(soap_config, definition) definition_class_name = nil if definition.is_a?(Class) && definition.ancestors.include?(WashOut::Type) - definition_class_name = definition.to_s.demodulize.classify + definition_class_name = definition.to_s.classify definition = definition.wash_out_param_map end diff --git a/lib/washout_builder/version.rb b/lib/washout_builder/version.rb index 6b51250..3e9af48 100644 --- a/lib/washout_builder/version.rb +++ b/lib/washout_builder/version.rb @@ -1,3 +1,3 @@ module WashoutBuilder - VERSION = "0.3.1" + VERSION = "0.3.2" end