Method: Qt::Time#initialize
- Defined in:
- lib/Qt/qtruby4.rb
#initialize(*args) ⇒ Time
Returns a new instance of Time.
2039 2040 2041 2042 2043 2044 2045 |
# File 'lib/Qt/qtruby4.rb', line 2039 def initialize(*args) if args.size == 1 && args[0].class.name == "Time" return super(args[0].hour, args[0].min, args[0].sec) else return super(*args) end end |