|
Revision 1862, 354 bytes
(checked in by nahi, 2 years ago)
|
- passing nil as a basetype through wsdl2ruby.rb generated mapping_registry was broken in 1.5.6. closes #369.
|
- Property svn:eol-style set to
native
- Property svn:keywords set to
author date id revision
|
| Line | |
|---|
| 1 |
require 'datetime.rb' |
|---|
| 2 |
|
|---|
| 3 |
class DatetimePortType |
|---|
| 4 |
# SYNOPSIS |
|---|
| 5 |
# now(now) |
|---|
| 6 |
# |
|---|
| 7 |
# ARGS |
|---|
| 8 |
# now - {http://www.w3.org/2001/XMLSchema}dateTime |
|---|
| 9 |
# |
|---|
| 10 |
# RETURNS |
|---|
| 11 |
# now - {http://www.w3.org/2001/XMLSchema}dateTime |
|---|
| 12 |
# |
|---|
| 13 |
# RAISES |
|---|
| 14 |
# (undefined) |
|---|
| 15 |
# |
|---|
| 16 |
def now(now) |
|---|
| 17 |
#raise NotImplementedError.new |
|---|
| 18 |
return nil if now.nil? |
|---|
| 19 |
now + 1 |
|---|
| 20 |
end |
|---|
| 21 |
end |
|---|
| 22 |
|
|---|