Module: RIO::Impl::U
- Defined in:
- lib/rio/ops/either.rb,
lib/rio/ops/stream.rb,
lib/rio/ops/stream/output.rb
Class Method Summary collapse
- .chmod(mod, s) ⇒ Object
- .chown(owner_int, group_int, s) ⇒ Object
- .copy_stream(s, d) ⇒ Object
- .mv(s, d) ⇒ Object
Class Method Details
.chmod(mod, s) ⇒ Object
45 46 47 |
# File 'lib/rio/ops/either.rb', line 45 def self.chmod(mod,s) ::File.chmod(mod,s.to_s) end |
.chown(owner_int, group_int, s) ⇒ Object
48 49 50 |
# File 'lib/rio/ops/either.rb', line 48 def self.chown(owner_int,group_int,s) ::File.chown(owner_int,group_int,s.to_s) end |
.copy_stream(s, d) ⇒ Object
42 43 44 45 |
# File 'lib/rio/ops/stream/output.rb', line 42 def self.copy_stream(s,d) require 'fileutils' ::FileUtils::copy_stream(s,d) end |
.mv(s, d) ⇒ Object
42 43 44 |
# File 'lib/rio/ops/either.rb', line 42 def self.mv(s,d) ::FileUtils.mv(s.to_s,d.to_s) end |