apply_restraint(*ress)
click to toggle source
def apply_restraint(*ress)
self.template_apply_restraint = ress
return self
end
create_restraints(*ress)
click to toggle source
def create_restraints(*ress)
self.template_create_restraints = ress
return self
end
make_struct()
click to toggle source
def make_struct
Rex::Struct2::CStruct.new(*self.template).
create_restraints(*self.template_create_restraints).
apply_restraint(*self.template_apply_restraint)
end