Welcome to the "trac"-ing site of soap4r!
[soap4r] [httpclient] [openpgp4u] [pkcs1] [logger] [csv] [vtr]

Ticket #268 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

Allow safe method names with =, ?, !, or self.

Reported by: user Assigned to: nahi
Priority: normal Milestone: 1.5.6
Component: xsd4r Version: 1.5
Keywords: Cc: aaron.pfeifer@gmail.com

Description

In gensupport, safemethodname and safemethodname? do not allow for the following types of methods:

  • foo!
  • foo?
  • foo=
  • self.foo
  • self.foo!
  • self.foo?
  • self.foo=

Although not explicitly used by wsdl2ruby or xsd2ruby currently, it causes problems for others (such as myself) who are extending the wsdl2ruby/xsd2ruby classes.

This patch allows for those method formats.

Attachments

flexible_safemethodnames.diff (0.9 kB) - added by user on 09/26/06 08:27:28.
First attempt

Change History

09/26/06 08:27:28 changed by user

  • attachment flexible_safemethodnames.diff added.

First attempt

09/26/06 08:30:31 changed by user

  • cc set to aaron.pfeifer@gmail.com.

10/02/06 16:37:11 changed by nahi

  • milestone changed from undefined to 1.5.6.

10/03/06 23:12:11 changed by nahi

  • status changed from new to closed.
  • resolution set to fixed.

Hi,

I've merged your patch with a little modification.

Thank you!