Class: Qt::Enum

Inherits:
Object show all
Defined in:
lib/ruber/qt_sugar.rb

Instance Method Summary collapse

Instance Method Details

#to_intInteger

Converts the enum to an integer

Returns:

  • (Integer)

    the integer value of the enum



737
738
739
# File 'lib/ruber/qt_sugar.rb', line 737

def to_int
  to_i
end