Module: RuPol::Swimsuit::InstanceMethods

Defined in:
lib/ru_pol.rb

Instance Method Summary collapse

Instance Method Details

#clearObject



61
62
63
64
65
66
67
# File 'lib/ru_pol.rb', line 61

def clear
  super rescue nil
  instance_variables.each do |var|
    instance_variable_set(var, nil) unless var == "@_recycled"
  end
  self
end

#destroyObject



69
70
71
72
# File 'lib/ru_pol.rb', line 69

def destroy
  super rescue nil
  recycle
end