Class: Rex::Proto::X11::Extensions::X11ExtensionToggleRequest

Inherits:
BinData::Record
  • Object
show all
Defined in:
lib/rex/proto/x11/extensions.rb

Instance Method Summary collapse

Instance Method Details

#versions?Boolean

Returns:

  • (Boolean)


42
43
44
# File 'lib/rex/proto/x11/extensions.rb', line 42

def versions?
  wanted_major.nonzero? || wanted_minor.nonzero?
end