mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
22 lines
327 B
Ruby
22 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
|
||
|
|