Class: XDry::Boxing::StringConverter

Inherits:
Boxer
  • Object
show all
Defined in:
lib/xdry/boxing.rb

Instance Method Summary collapse

Methods inherited from Boxer

#unbox_retained

Instance Method Details

#box(out, data_expr, tempvar_prefix) ⇒ Object



124
125
126
# File 'lib/xdry/boxing.rb', line 124

def box out, data_expr, tempvar_prefix
  data_expr
end

#retain_policyObject



132
# File 'lib/xdry/boxing.rb', line 132

def retain_policy; RetainPolicy::COPY; end

#unbox(out, object_expr, tempvar_prefix) ⇒ Object



128
129
130
# File 'lib/xdry/boxing.rb', line 128

def unbox out, object_expr, tempvar_prefix
  object_expr
end