Class: Qt::Boolean
Overview
Provides a mutable boolean class for passing to methods with C++ ‘bool*’ or ‘bool&’ arg types
Instance Attribute Summary collapse
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(b = false) ⇒ Boolean
constructor
A new instance of Boolean.
- #nil? ⇒ Boolean
Constructor Details
#initialize(b = false) ⇒ Boolean
Returns a new instance of Boolean.
402 |
# File 'lib/Qt/qtruby4.rb', line 402 def initialize(b=false) @value = b end |
Instance Attribute Details
#value ⇒ Object
Returns the value of attribute value.
401 402 403 |
# File 'lib/Qt/qtruby4.rb', line 401 def value @value end |