Class: Qt::ByteArray
Instance Method Summary collapse
- #chop(*args) ⇒ Object
-
#initialize(*args) ⇒ ByteArray
constructor
A new instance of ByteArray.
- #split(*args) ⇒ Object
- #to_f ⇒ Object
- #to_i ⇒ Object
- #to_s ⇒ Object
Constructor Details
#initialize(*args) ⇒ ByteArray
Returns a new instance of ByteArray.
512 513 514 515 516 517 518 |
# File 'lib/Qt/qtruby4.rb', line 512 def initialize(*args) if args.size == 1 && args[0].kind_of?(String) super(args[0], args[0].size) else super end end |
Instance Method Details
#chop(*args) ⇒ Object
532 533 534 |
# File 'lib/Qt/qtruby4.rb', line 532 def chop(*args) method_missing(:chop, *args) end |
#split(*args) ⇒ Object
536 537 538 |
# File 'lib/Qt/qtruby4.rb', line 536 def split(*args) method_missing(:split, *args) end |
#to_f ⇒ Object
528 529 530 |
# File 'lib/Qt/qtruby4.rb', line 528 def to_f return toDouble() end |
#to_i ⇒ Object
524 525 526 |
# File 'lib/Qt/qtruby4.rb', line 524 def to_i return toInt() end |
#to_s ⇒ Object
520 521 522 |
# File 'lib/Qt/qtruby4.rb', line 520 def to_s return constData() end |