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.



2523
2524
2525
2526
# File 'lib/Qt/qtruby4.rb', line 2523

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

Instance Attribute Details

#indexObject

Returns the value of attribute index.



2514
2515
2516
# File 'lib/Qt/qtruby4.rb', line 2514

def index
  @index
end

Instance Method Details

#smokeObject



2516
2517
2518
2519
2520
2521
# File 'lib/Qt/qtruby4.rb', line 2516

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