Module: RIO::Cp::Dir::Input
Instance Method Summary collapse
- #>(arg) ⇒ Object (also: #copy_to)
- #>>(arg) ⇒ Object (also: #append_to)
Methods included from Util::InOut
Instance Method Details
#>(arg) ⇒ Object Also known as: copy_to
293 294 295 296 297 298 299 |
# File 'lib/rio/cp.rb', line 293 def >(arg) case arg when ::Array then cpto_obj_(arg.clear) else cpto_rio_(ensure_rio(arg)) end self end |
#>>(arg) ⇒ Object Also known as: append_to
286 287 288 289 290 291 292 |
# File 'lib/rio/cp.rb', line 286 def >>(arg) case arg when ::Array then cpto_obj_(arg) else cpto_rio_(ensure_rio(arg)) end self end |