static public Method

Date.new(*args)

There's no documentation for this item.

Source Code

# File qt/qtruby4.rb, line 379
def initialize(*args)
        if args.size == 1 && args[0].class.name == "Date"
                return super(args[0].year, args[0].month, args[0].day)
        else
                return super(*args)
        end
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.