class Rex::Struct2::Constant
what use is it? Well it’s useful for doing constant restraints (like fix sized arrays), and probably not a ton more.
Public Class Methods
new(value)
click to toggle source
# File lib/rex/struct2/constant.rb, line 17 def initialize(value) self.value = value end