Module: XDry::RetainPolicy::UNKNOWN

Defined in:
lib/xdry/boxing.rb

Class Method Summary collapse

Class Method Details

.release(out, expr) ⇒ Object



63
64
65
# File 'lib/xdry/boxing.rb', line 63

def self.release out, expr
  out << "[#{expr} release]";
end

.release_and_clear(out, var_name) ⇒ Object



67
68
# File 'lib/xdry/boxing.rb', line 67

def self.release_and_clear out, var_name
end

.retain(expr) ⇒ Object



59
60
61
# File 'lib/xdry/boxing.rb', line 59

def self.retain expr
  "[#{expr} retain]"
end