Skip to content

Commit

Permalink
new deserializer: add non-xsd versions of basic types to action table
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich Lane committed Dec 13, 2011
1 parent 883f7f9 commit 23a205c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/rbvmomi/deserialization.rb
Expand Up @@ -35,6 +35,12 @@ class NewDeserializer
'KeyValue' => :keyvalue,
}

TYPE_ACTIONS.dup.each do |k,v|
if k =~ /^xsd:/
TYPE_ACTIONS[$'] = v
end
end

def initialize conn
@conn = conn
@loader = conn.class.loader
Expand Down

0 comments on commit 23a205c

Please sign in to comment.