Class: Qt::Internal::ModuleIndex

Inherits:
Object
  • Object
show all
Defined in:
lib/Qt/qtruby4.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(smoke, index) ⇒ ModuleIndex

Returns a new instance of ModuleIndex


2505
2506
2507
2508
# File 'lib/Qt/qtruby4.rb', line 2505

def initialize(smoke, index)
  @smoke = smoke
  @index = index
end

Instance Attribute Details

#indexObject

Returns the value of attribute index


2496
2497
2498
# File 'lib/Qt/qtruby4.rb', line 2496

def index
  @index
end

Instance Method Details

#smokeObject


2498
2499
2500
2501
2502
2503
# File 'lib/Qt/qtruby4.rb', line 2498

def smoke
  if ! @smoke
      return 0
  end
  return @smoke
end