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
308 309 310 311 312 313 314 |
# File 'lib/rio/cp.rb', line 308 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
301 302 303 304 305 306 307 |
# File 'lib/rio/cp.rb', line 301 def >>(arg) case arg when ::Array then cpto_obj_(arg) else cpto_rio_(ensure_rio(arg)) end self end |