lib/rbvmomi/vim/HostSystem.rb in rbvmomi-2.1.1 vs lib/rbvmomi/vim/HostSystem.rb in rbvmomi-2.1.2
- old
+ new
@@ -113,15 +113,15 @@
def obj
conn = @host._connection
conn.type(@type_info.wsdlName).new(conn, @instance)
end
- def method_missing name, *args
+ def method_missing(name, *args)
name = name.to_s
if @namespaces.member? name and args.empty?
@namespaces[name]
elsif @commands.member? name
- @commands[name].call *args
+ @commands[name].call(*args)
else
raise NoMethodError
end
end