mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
d268bf305e
Conditional Expressions. * lib/wsdl/soap/definitions.rb: refactoring - Move Method. * test/xsd/{test_noencoding.rb,noencoding.xml}: new files. test for encoding unspecified XML file parsing. * test/wsdl/{test_fault.rb,map,datetime}: new files. test of SOAPFault, dateTime and Apache's Map. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
21 lines
327 B
Ruby
21 lines
327 B
Ruby
require 'datetime.rb'
|
|
|
|
class DatetimePortType
|
|
# SYNOPSIS
|
|
# now(now)
|
|
#
|
|
# ARGS
|
|
# now - {http://www.w3.org/2001/XMLSchema}dateTime
|
|
#
|
|
# RETURNS
|
|
# now - {http://www.w3.org/2001/XMLSchema}dateTime
|
|
#
|
|
# RAISES
|
|
# (undefined)
|
|
#
|
|
def now(now)
|
|
#raise NotImplementedError.new
|
|
now + 1
|
|
end
|
|
end
|
|
|